Skip to content

Instantly share code, notes, and snippets.

@neetsdkasu
Created July 1, 2015 21:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neetsdkasu/4ac20cf6cb04913ef190 to your computer and use it in GitHub Desktop.
Save neetsdkasu/4ac20cf6cb04913ef190 to your computer and use it in GitHub Desktop.
空のサブディレクトリを削除する。(ただし、このままだと浅い階層順なので削除されないディレクトリが生じる)
@for /r %%i in (.) do if not "%%~dpfi\"=="%~dp0" rmdir "%%~dpfi"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment