Find Empty Folders & SubFolders

If you are brave enough you can use a DOS command:

// Uses the DOS Command RD which doesn't remove non-empty folders

@echo off
dir
echo.
choice /C YN /M "Remove Empty Folders?"
if %errorlevel% EQU 1 for /f "delims=" %%d in ('dir /s /b /ad ^| sort /r') do rd "%%d"
pause

Remove Empty Folders.dcf (758 Bytes)