Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ShellExecute() and Redirection
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00093664
Message ID:
00093696
Vues:
28
>Is it possible to use ShellExecute() to execute a DOS program AND redirect the DOS program's output to a file. I have not been able to get this to work with ShellExecute() by placing the redirection operator and file name in the Parameters variable. However, I have been able to get this to work with WinExec(), but not ShellExecute().
>
>Thanks,
>Bill

Bill,

In my opinion, ShellExecute() is intended for opening or printing files, but it can also start an executable. This latter capability I look on as an extended feature. I don't think that you'll be able to do any re-direction of DOS from it, but I very well could be wrong.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform