Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine EXE Home directory.
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Determine EXE Home directory.
Miscellaneous
Thread ID:
00550132
Message ID:
00550132
Views:
50
I have compiled an EXE of my App and created a Setup disk using the Setup Wizard. I included the VFP Runtime files when running the Wizard. The setup defaults to installing into c:\program files\labnav. I think I see the Vfp6r.dll and other runtime files getting installed to the Windows\System directory. In code, I need to determine the folder from where my EXE is running. I know Sys(2004) returns the folder of the Runtime files, but how do I determine where my program is launched from? What I'm trying to do is delete some temporary tables and TXT files that get created in the lauch directory.

Thank You
Elgin Rogers
Epic Solutions
www.epicsolutions.net
Next
Reply
Map
View

Click here to load this message in the networking platform