Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run dos command, get result in string
Message
 
À
18/12/2005 16:34:02
Al Doman (En ligne)
M3 Enterprises Inc.
North Vancouver, Colombie Britannique, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01079030
Message ID:
01079207
Vues:
15
>One way is to redirect the DOS command output to a file, >e.g.
SomeDOSCommand <optional parameters> >C:\DOSCommandOutput.txt
You can then use FILETOSTR() in VFP to read in >the contents of C:\DOSCommandOutput.txt .

I had to add the "Run" command before the SomeDosCommand to let it work. Thanks.
Zakaria al Azhar
My blog on Actuaris.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform