|
-
June 10th, 1999, 06:55 PM
#1
Find out the directory from which the current executable is running from.
I would like the know the directory path from which I am running the current executable from? GetCurrentDirectory() is not providing me the correct one?
Thanks
Ramesh
-
June 10th, 1999, 07:57 PM
#2
Re: Find out the directory from which the current executable is running from.
"The GetModuleFileName function retrieves the full path and file name for the executable file containing the specified module." (copy from a manual).
You can use this function to get the full path, and can split the directory by using _splitpath function.
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
|