|
-
April 10th, 1999, 08:22 AM
#1
Getting EXE and PATH names at runtime
Can any one tell me if it is possible and how to get the path from where an EXE was executed, and the name the EXE. All of that at runtime.
Any help would be appreciated!
-
April 10th, 1999, 11:03 AM
#2
Re: Getting EXE and PATH names at runtime
Use "GetModueFileName" Win32 API to get the complete path of the EXE from which the application was launched. Once you gor the complete path you can devide it to get the Name and Path separately.
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
|