Site icon TechnologiesPosts

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

Share your Love
Exit mobile version