Skip to content

Instantly share code, notes, and snippets.

@vforge
Created August 26, 2018 15:47
Show Gist options
  • Save vforge/f80f0a70d44afdc1bc24b6bbeaefd036 to your computer and use it in GitHub Desktop.
Save vforge/f80f0a70d44afdc1bc24b6bbeaefd036 to your computer and use it in GitHub Desktop.
Delete all empty subdirectories in windows command line
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