I would like to clear the contents of some text files that are in several sub-directories across 2 hard drives on my computer. I would like to do this by a batch file for my ease of use / understanding. Here's what I have so far. Can you help me finish writing this code?
echo off @for /R %%G in (*.txt) do copy NUL "%%G"
I appreciate your quick reply on my last post!
Thank you Chris