Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to find the path to the EXE?
Message
From
17/03/1997 03:30:08
 
 
To
07/03/1997 05:38:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00023277
Message ID:
00024490
Views:
42
>Dear visual FoxPro users
>
>I have created an EXE and the path to my directory where I have all my files isn't dynamic, so I have a problem if the user want to install my app in a different directory. How can I find the path to the EXE? I tried HOME(), but then I got the path to my system directory.

I search for the .exe and try to open it for writing. fopen() will fail if the copy of the .exe is currently running. I check for the default path on all volumes first as scanning large volumes can take a while.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform