|
Answer» I am trying to simplify a method for creating a batch file tha will create X number of new folders of the same name but different suffex... 01, 02, 03.
This is the CODE I have so far, but i would like to select the number of folders to make and possible even the name of the folder prefix.
@ECHO OFF mkdir vids01 mkdir vids02 mkdir vids03 mkdir vids04 mkdir vids05 exit
Can anyone SHED some light here PLEASE!
@echo off set idx=0 cls & echo. & echo Enter a number & set /p CHS=- & Goto AAA1 :AAA1 Mkdir Name-%IDX% set /a IDX=%idx%+1 If "%IDX%"=="%chs%" Goto AAA2 If not "%IDX%"=="0" Goto AAA1 :AAA2 cls & echo done. & DIR /a:d /b name **Super Job. Short and SWEET!
Thanks, Diablo416, I appreciate it.
|