Printing Batch file results to a text file Nikunj K 12 years ago 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