Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP exe Location Determination
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP3
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01605250
Message ID:
01605254
Vues:
70
Thanks, Hank!

>>Hi Gang!
>>
>>Question.....
>>
>>Given a FoxPro EXE that is located in a folder somewhere..... could be ANYWHERE on the network.
>>
>>Any built in fuction or home made procedure that can give me the DRIVE (or VOLUME) and the PATH to where the EXE is located, when it is running?
>>
>>The EXE can be run from some other FoxPro EXE, so it will NOT be started from a Windows Shortcut. It should be able to be tested by double-clicking on the EXE, wherever it is located.
>>
>>
>>Thanks
>
>justpath(sys(16,0)) will give you the path if it is running as an EXE and not a COM object.
>
>Hank
Tommy Tillman A+ NetWork+ MCP
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform