Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any way to specify working directory with 'run' command?
Message
De
29/10/1999 19:39:39
 
 
À
29/10/1999 15:14:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00282962
Message ID:
00284202
Vues:
21
>>API_APPRUN makes it easy...
>
>What does it do? Easier than the FFC?

It does a good deal more than the ShellExecute class. It uses CreateProcess() to run things, allows you to specify a starting directory and Windows mode for DOS and WinApps, and allows you to run and wait on termination or run and return to VFP immediately. it also allows you to monitor the execution and temrination code of what it starts, and to terminate processes it starts if they hang.

Since it doesn't use the Shellexecute(), it won't launch a document automatically with its default application, but that can be done IAC using the Shell.Application automation object's Open method.
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
Répondre
Fil
Voir

Click here to load this message in the networking platform