Skip to content

Instantly share code, notes, and snippets.

@Dobby89
Created September 26, 2018 07:19
Show Gist options
  • Save Dobby89/6be08bcf6c804dbc3e0e87e09e03335a to your computer and use it in GitHub Desktop.
Save Dobby89/6be08bcf6c804dbc3e0e87e09e03335a to your computer and use it in GitHub Desktop.
Delete all directories recursively, from the current directory
FOR /d /r . %d in (DIR_NAME_HERE) DO @IF EXIST "%d" echo %d && RMDIR /S /Q %d"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment