Batch file to create folders, with an incremental folder name of Name 1, Name 2,

Question:

Does anyone know how I can create a batch file which creates folders in a certain directory with the incremental name of “Problem 1”, “Problem 2”, …

Answer:

Sure, like so (if it’s in a batch file):

Or just simply on the command line:

See here: Batch script loop

If you want to do it in Powershell it’s a simple one liner like so:

or

Source:

Batch file to create folders, with an incremental folder name of Name 1, Name 2, by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply