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:31:21
 
 
To
30/09/1998 06:14:36
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00142271
Message ID:
00142279
Views:
25
>>?
>>How determine strartup folder inside app started from Command Window:
>> :\\My.app
>>
>>I don`t now where this one will be located later...
>
>Hi, neighbor
>If I understand correctly, you want to get the folder your app is in. That's simple, you use CURDIR(), or even better something like following:
>
 lcCurrentDirectory = SYS(5); &&  current drive
> + CURDIR()  && current directory
Better to use FULLPATH(CURDIR()); SYS(5) doesn't work with UNCs.

>
>Urgh.
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