Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running a DOS Command
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Running a DOS Command
Miscellaneous
Thread ID:
00664751
Message ID:
00664751
Views:
58
Hi,

A need run a DOS Command. I run it using a class to execute external proccess (process.vcx), but this is not the source of the problem because i test the command from the windows explorer and get the same results.

This work fine in WinXP pro, because for default close the DOS box after a .bat file run, but in 9x is necesary hit the "X" button to close.

I know to build a pif file and configure the option "close when the command finish", but i need run it programatically and I DON'T WAN USE A PIF FILe, except if this can be created in the fly.

I try this:

format a:/q
exit

In XP: The DOS windows close..
In 98:The DOS windows stay visible..

Thanks
The Life is Beautiful!

Programmer in
Delphi, VS.NET
MCP
Next
Reply
Map
View

Click here to load this message in the networking platform