Discussion Locked

DOS COMMANDs NEEDED

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Need to make roughly 250 directories

ex
md 001AAA
md 002AAA
md 003AAA

How can I create a batch file to accomplish this?

3 replies

by john

You could use Excel to produce 250 lines like those in your example, then write these out to a text file with a .BAT extension. You can then run the bat file from a dos prompt.

by cactus pete

Or you could try using the FOR command and a counter loop. This becomes a little more portable, and is [in my opinion] more fun and rewarding.

But I must admit, I've used Excel as you've described several times.

Do a google search on "dos command batch" to find a few sites to teach you. If you like, when I have a little time, I can do this for you the first time so you see what it's like. But I'd prefer you try on your own first.

This discussion is closed to new replies.