Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run batch file
Message
De
24/09/2002 03:12:52
 
 
À
23/09/2002 23:04:45
Wilfred Chan
Bnp Paribas Hong Kong Branch
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00703275
Message ID:
00703664
Vues:
15
Typically if you're trying to run a batch file, it requires the command interpreter - typically COMMAND.COM on Win9x/Me and CMD.EXE on NT/W2K/XP, so the command you're trying to execute should be
COMMAND /C BatchFile.Bat   on W9x/Me
CMD /C BatchFile.Bat    on NT/W2K/XP
You can use the OS() function to determine the machine's OS at runtime.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform