?
Solved

Get app path

Posted on 2012-08-22
2
Medium Priority
?
468 Views
Last Modified: 2012-08-22
How do i get my running program file path.

and using that path to start another program?

Should be an easy answer...
0
Comment
Question by:RevJoker
2 Comments
 
LVL 19

Accepted Solution

by:
Ken Butters earned 2000 total points
ID: 38323612
http://stackoverflow.com/questions/837488/how-can-i-get-the-applications-path-in-net-in-a-console-app


System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location))  

Open in new window

0
 
LVL 1

Author Comment

by:RevJoker
ID: 38323638
well done sir, ah thousand thanks..
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Screencast - Getting to Know the Pipeline
Suggested Courses
Course of the Month15 days, 16 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question