Posts Tagged batch file
Read text file for bulk folders creation
Posted by Victor Tong in Windows Infrastructure on September 27th, 2009
Text file name:
folders.txt : Content
folder_a folder_b folder_c
CreateFolders.bat
FOR /F "tokens=1 delims=" %%i IN (folders.txt) DO ( md %%1 ) pause
CreateFolders.bat will read file folders.txt and create folder_a,folder_b and folder_c for you.
Total views: 88 views
Comments