Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How determine strartup folder inside app started from VF
Message
From
30/09/1998 06:25:10
 
 
To
30/09/1998 05:43:39
Dmitry V.Glouzdov
LUKOIL (Nizhny Novgorod)
Nizhny Novgorod, Russia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00142271
Message ID:
00142278
Views:
31
>?
>How determine strartup folder inside app started from Command Window:
> :\\My.app

You can find the starting directory (the directory active at the time the application starts up) with FULLPATH(CURDIR()). You need to do this before you do any CD or SET DEFAULT TO

You can find the path of the executable with SYS(16,0); you'll need to strip the program name from the path returned.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform