Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How determine strartup folder inside app started from VF
Message
De
30/09/1998 06:31:21
 
 
À
30/09/1998 06:14:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00142271
Message ID:
00142279
Vues:
27
>>?
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform