Tuesday, 1 October 2013

Printing Batch file results to a text file

For showing result of batch file in text file, you can use

this command

    chdir > test.txt

This command will redirect result to test.txt.

When you open test.txt you will found current path of directory in test.txt

No comments:

Post a comment