Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dos Batch redirect to file?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00348558
Message ID:
00348669
Vues:
23
>Been a long time and I can't recall, How to redirect output from batch file to a log file?
>

You can either redirect the STDOUT for the command processor controlling the .BAT file (best done using the CreateProcess() API call; you could modify API_APPRUN to do that), or use the > and >> pipes to direct console output to a file line by line within the file.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform