Skip to content

Instantly share code, notes, and snippets.

@jacenko
Created April 12, 2016 15:09
Show Gist options
  • Save jacenko/6280134871020635639a5f429f651c2e to your computer and use it in GitHub Desktop.
Save jacenko/6280134871020635639a5f429f651c2e to your computer and use it in GitHub Desktop.
Batch script for creating folders from a TXT file in Windows
:: 1. Create FILENAME.txt in the current directory
:: 2. Add names of new folders to each line of this txt file
:: 3. Run folders.bat in Command Prompt
:: 4. Folders are created
@echo off
for /f %%i in (FILENAME.txt) do mkdir %%i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment