Friday, 3 January 2020

CMD - delete empty subfolders

cmd to the folder where you want to delete empty subfolders

run this connamd

for /f "delims=" %i in ('dir /s /b /ad ^| sort /r') do rd "%i" 2>NUL

No comments:

Post a Comment