Skip to content

Instantly share code, notes, and snippets.

@alastori
Created December 2, 2016 20:00
Show Gist options
  • Save alastori/07083c7316e1f16763a6f41ca28fdb9c to your computer and use it in GitHub Desktop.
Save alastori/07083c7316e1f16763a6f41ca28fdb9c to your computer and use it in GitHub Desktop.
Windows Batch file to create a bunch of folders based on a list in a text file
@@ECHO OFF
for /f "tokens=*" %%a in (folders.txt) do (
echo "%%a"
if not exist "%%a" md "%%a"
)
echo "Folder contents..."
DIR /b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment