I wrote a very simple Batch file that directs output to a file. Here's the text body:
DATE /T > FileTreeList.txt
TIME /T >> FileTreeList.txt
cd >> FileTreeList.txt
tree /f /a >> FileTreeList.txt
When I run the Batch File in a directory that has a lot of folders and files, the output file (FileTreeList.txt) truncates at ~621KB. If I run the Batch File from command mode and direct output to a file, I get the same results. However, if I let the results display on screen, it shows all the results.
Why does it happen and how to fix it?
Probably your hard drive is full and only has a ~621KB of free space ;)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With