How can I get the absolute path of program I’m running?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For that you can use the
Applicationobject.Startup path, just the folder, use Application.StartupPath()
Full .exe path, including the program.exe name on the end:, use Application.ExecutablePath()