Created
December 2, 2016 20:00
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@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