Skip to content

Instantly share code, notes, and snippets.

@zhhailon
Created November 11, 2011 07:02
Show Gist options
  • Save zhhailon/1357400 to your computer and use it in GitHub Desktop.
Save zhhailon/1357400 to your computer and use it in GitHub Desktop.
A batch file to make 175 directories and files in them.
set var=0
:continue
set /a var+=1
echo %var%
mkdir %var%
cd %var%
touch %var%.c
cd ..
if %var% lss 175 goto continue
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment