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