Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Ishibasystems
Created September 5, 2015 05:27
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 Ishibasystems/af80ed0fc2c9a251218b to your computer and use it in GitHub Desktop.
Save Ishibasystems/af80ed0fc2c9a251218b to your computer and use it in GitHub Desktop.
空のフォルダを削除 1. dir後にディレクチリパス追加で指定ディレクトリ下、そのまま実行でカレントディレクトリ下。 2. コマンドラインからジックする場合は%%を%に変更。
for /f "usebackq tokens=*" %%d in (`dir /ad /b /s`) do rd /q "%%d" 2>nul
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment