@echo off
for /f "usebackq delims=" %%d in (`"dir /ad/b/s | sort /R"`) do rmdir "%%d"
Monday, June 29, 2015
Recursively delete all empty directories using .BAT/.CMD file
rmdir_empty.bat
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment