PPRuNe Forums - View Single Post - Need help creating a file system
View Single Post
Old 7th March 2010 | 06:03
  #6 (permalink)  
Mac the Knife

Plastic PPRuNer
25 Anniversary
 
Joined: Sep 2000
Posts: 1,902
Likes: 0
From: Rochechouart, France
Actually, thinking about it you could do it all in one command line (no need for environmental variables or batch files). 2000/XP only I'm afraid.

At the command line, in the directory where you want to create your folders, just type

FOR /L %A IN (1,1,10) DO md %A

This'll start the numbering at 1, increment by one each time and go on 'till 10

:-)

Mac

Last edited by Mac the Knife; 7th March 2010 at 06:13.
Mac the Knife is offline  
Reply