rss
Search : in
By : Relevance Date Username
Statut : Not resolved

Batch to create multipl folders ?

johnsteve12, on Wednesday May 21, 2008 12:23:28 PM
Hello,



Anyone know of a simple way to create multiple folders with a structure like:
C:\x\01
C:\x\02
C:\x\03
C:\x\04
C:\x\05

To clarify: "make 'x' number of subfolders within folder 'abc' and number them numerically"

(of course considering the time ive spend trying to find out how to do this i could have created them manually by now :)
Configuration: Windows XP
Internet Explorer 6.0
Reply to johnsteve12  Report this message to moderators Go to last message

1


  • This message seems useful, vote!
  • Report this message to moderators
guygu6, on Wednesday May 21, 2008 02:10:45 PM
Hello



try this

@echo off
md c:\x\01
md c:\x\02
md c:\x\03
md c:\x\04
cls
exit


offcourse you have to replace the x with whatever you want the folders to me named
if you have any questions send me a message.
Reply to guygu6

2


  • This message seems useful, vote!
  • Report this message to moderators
mario, on Friday July 25, 2008 01:42:06 PM
I have to create thousands of folders all with different names about 7 thousand to be exact. Also with a specific file in them can you assist?
Reply to mario

3


  • This message seems useful, vote!
  • Report this message to moderators
Stephen, on Tuesday August 12, 2008 06:32:07 PM
Here is the BAT file to run to create your 7000+ folders:

@echo off

REM This batch file creates multiple folders 1-10 in increments of one.

cls
FOR /L %%G IN (1,1,10) DO (
<nul (set/p z=%%G)
md c:\x\%%G
)
cls
exit
Reply to Stephen

4


  • This message seems useful, vote!
  • Report this message to moderators
Mr.G, on Wednesday August 13, 2008 08:13:20 AM
Hello , I also have a question...

What if I want to create multiple folders and the folder names are in a list ....


For example I have a list with user1,user2,user3 etc
I want to create folder user1,user2,user3,etc
And I want to give rights for folder "user1" so that only user1 can access it , for folder"user2" so that only user2 have access and so on ...

Please help..

Thanks.
Reply to Mr.G

5


  • This message seems useful, vote!
  • Report this message to moderators
 CVS, on Wednesday August 27, 2008 10:49:04 AM
Hi,

I'm wanting to make a script that creates:
[username]\[user homedrive]
[username\[user profile]

on a server called 'SRV321'

I'm basically backing up many user accounts, so instead of creating the file all the time, i want to setup up a script that will ask me the [username] in either command prompt or in a message box. i have had a look around the net and i can only find hardcoded location examples.

Can anyone please shed some light on the issue please. .

Thanks
Reply to CVS
Software found in the relevant downloads
Download IZArc 3.81.1550IZArc - IZArc is the ultimate freeware archive utility supporting many archive formats like: 7-ZIP, A, ACE, ARC, ARJ, B64, BH, BIN,...Category: Compression/Decompression
License: Freeware/gratuit
Download PDF Creator 0.9.5PDF Creator - PDFCreator is a free tool to create PDF files from any program that is able to print.Category: PDF
License: Open Source
Download MediaCoder 0.6.1.4140MediaCoder - MediaCoder is a free universal batch media transcoder, which nicely integrates most popular audio/video codecs and tools...Category: Video editing
License: Open Source
Download Disk Defrag 1.4.16.308Disk Defrag - Fragmentation is caused by creating and deleting files and folders, installing new software, and downloading files from the...Category: Optimization
License: Freeware/gratuit
More freeware about « Batch to create multipl folders ? »