Skip to content

Instantly share code, notes, and snippets.

@rahman541
Created October 19, 2017 05:17
Show Gist options
  • Save rahman541/301849e89f7392a5eb6d6cf5002fd0d2 to your computer and use it in GitHub Desktop.
Save rahman541/301849e89f7392a5eb6d6cf5002fd0d2 to your computer and use it in GitHub Desktop.
for /f "delims=" %%d in ('dir /s /b /ad ^| sort /r') do rd "%%d"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment