Can you clarify which folder you actually want to identify?
If your EXE physically sits in a folder called C:\MYAPP
then the startup folder is normally C:\MYAPP
A shortcut can exist that starts the program C:\MYAPP\THEAPP.EXE but sets the working directory to be something else.. eg C:\
The shortcut itself may reside on the Desktop.
And if your app is on a network, the drive letters in the shortcut may not be the same as the drive letter of the network drive 'as seen by' the app.
So, Do you want to know where the application exists, where the shortcut exists, or where the shortcut tells the app to start from?
Enter your message below
Sign in or Join us (it's free).