|
-
February 1st, 2004, 07:54 AM
#1
Get .Exe folder path
Hello,
Is it possible to get the executables folder path at runtime? E.g. "C:\Documents and Settings\MyProgram.exe"
I need it so as to open a file that’s located in the same folder as the executable and I don’t want to be hard coding it in because if the program is run on a different computer then the path will be wrong.
Thanks in advance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|