Trying to replace some old .bat's. How can I direct the output of a program to a file? Run Program doesn't like the second ">" so the equivalent of a batch command, e.g.
Run Program>c:\msuptime\uptime.exe>c:\msuptime\uptime.txt
doesn't work
Capture output of Run Program> to file?
Moderators: Dorian (MJT support), JRL
Try this:
Run>cmd / c c:\msuptime\uptime.exe > c:\msuptime\uptime.txt
If using Win9x replace cmd with command.com
Run>cmd / c c:\msuptime\uptime.exe > c:\msuptime\uptime.txt
If using Win9x replace cmd with command.com
MJT Net Support
[email protected]
[email protected]