M mathewsdw May 855 0 2012-06-15 #1 A simple question: Is there any way to have TCC delete all of the empty directories in a directory tree? - Dan
A simple question: Is there any way to have TCC delete all of the empty directories in a directory tree? - Dan
Charles Dye Super Moderator May 5,361 163 Staff member 2012-06-15 #2 Code: del /s /e /x /q d:\directory\nul.txt This takes advantage of the fact that you can't have a file named NUL.TXT.
Code: del /s /e /x /q d:\directory\nul.txt This takes advantage of the fact that you can't have a file named NUL.TXT.
M mathewsdw May 855 0 2012-06-15 #3 Thank you Charles. That's about 80% of the "battle" I'm fighting (see my previous thread for more on the battle if you are interested).
Thank you Charles. That's about 80% of the "battle" I'm fighting (see my previous thread for more on the battle if you are interested).
samintz Scott Mintz May 1,590 27 2012-06-15 #4 Charles Dye said: Code: del /s /e /x /q d:\directory\nul.txt Click to expand... Very clever...