Discussion Locked

Capturing Command Prompt messages

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Hi, can any of the NT 4.0 experts our there share with me how to capture the command prompt messages (run from a batch file) to a log file (text)in Windows NT server.

2 replies

by joseph hobbs

Have you tried > ? When you run your BAT file, you should be able to write any output to a file. Something like the following

myfile.bat > output.txt

That would execute myfile.bat and dump all output to output.txt.

This discussion is closed to new replies.