diff --git a/Delete empty folders.bat b/Delete empty folders.bat new file mode 100644 index 0000000000..44a796bc2a --- /dev/null +++ b/Delete empty folders.bat @@ -0,0 +1,3 @@ +REM Instructions: Drop in root folder, all directories and +REM subdirectories will be purged of empty folders. +for /f "delims=" %%i in ('dir /s /b /ad ^| sort /r') do rd "%%i" 2>NUL