Skip to content

Instantly share code, notes, and snippets.

@torifat
Created July 30, 2011 17:07
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 torifat/1115751 to your computer and use it in GitHub Desktop.
Save torifat/1115751 to your computer and use it in GitHub Desktop.
@ECHO OFF
SET TPATH = "%~d0%~p0"
FOR %%A IN (a b c d e f g h i j) DO (
mkdir "%TPATH%%%A"
FOR %%B IN (a b c d e f g h i j) DO (
mkdir "%TPATH%%%A\%%B"
FOR %%C IN (a b c d e f g h i j) DO (
mkdir "%TPATH%%%A\%%B\%%C"
FOR %%D IN (a b c d e f g h i j) DO (
mkdir "%TPATH%%%A\%%B\%%C\%%D"
FOR %%E IN (a b c d e f g h i j) DO (
mkdir "%TPATH%%%A\%%B\%%C\%%D\%%E%"
FOR %%F IN (a b c d e f g h i j) DO (
mkdir "%TPATH%%%A\%%B\%%C\%%D\%%E\%%F"
)
)
)
)
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment