I'm trying to create 1000 folders each with a single text file inside
eg
C:...\Customer1\Customer1.txt
C:...\Customer2\Customer2.txt
C:...\Customer3\Customer3.txt
.
.
.
etc to 1000
I can create a single folder and file with command prompt:
cd C:\Documents and Settings\All Users\Desktop\1000 folders
md Customer1
echo.>Customer1\Customer1.txt
I'm just not sure how to duplicate this without manually typing out 1000 folder names... how would I do this? with a batch file?
No comments:
Post a Comment