Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run batch file
Message
From
24/09/2002 03:12:52
 
 
To
23/09/2002 23:04:45
Wilfred Chan
Bnp Paribas Hong Kong Branch
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00703275
Message ID:
00703664
Views:
14
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
Previous
Reply
Map
View

Click here to load this message in the networking platform