Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running a DOS Command
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Running a DOS Command
Divers
Thread ID:
00664751
Message ID:
00664751
Vues:
59
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform