![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | creating a new folder in multiple subfolders I basically need to create a subfolder in around 450 subfolders, within 8 folders. Is there any way of doing this or will I have to do it manually? Thanks. |
My System Specs![]() |
| | #2 (permalink) |
| | Re: creating a new folder in multiple subfolders The answer is yes, you can create a simple batch file that will do a simple looping and keep creating as many folders as you need. You will have to use DOS mkdir, cd, cd.. and some other commands. It is programming of sorts, albeit simple. It does require some debugging. You may find extensive resources on the web. Just google for batch files. "Miles" <Miles@xxxxxx> wrote in message news:C37C2FEF-06DA-4C29-896B-0DD7D9811531@xxxxxx Quote: >I basically need to create a subfolder in around 450 subfolders, within 8 > folders. Is there any way of doing this or will I have to do it manually? > > Thanks. |
My System Specs![]() |
| | #3 (permalink) |
| | Re: creating a new folder in multiple subfolders I've got it sorted now, thanks for your help. In the end I did a dir c:\***\*** > test.txt to get the list, took out the rubbish and based my batch file around that. Thanks again "alexB" wrote: Quote: > The answer is yes, you can create a simple batch file that will do a simple > looping and keep creating as many folders as you need. You will have to use > DOS mkdir, cd, cd.. and some other commands. It is programming of sorts, > albeit simple. It does require some debugging. You may find extensive > resources on the web. Just google for batch files. > > "Miles" <Miles@xxxxxx> wrote in message > news:C37C2FEF-06DA-4C29-896B-0DD7D9811531@xxxxxx Quote: > >I basically need to create a subfolder in around 450 subfolders, within 8 > > folders. Is there any way of doing this or will I have to do it manually? > > > > Thanks. > |
My System Specs![]() |
| | #4 (permalink) |
| | Re: creating a new folder in multiple subfolders "Miles" <Miles@xxxxxx> wrote in message news:C37C2FEF-06DA-4C29-896B-0DD7D9811531@xxxxxx Quote: >I basically need to create a subfolder in around 450 subfolders, within 8 > folders. Is there any way of doing this or will I have to do it manually? It should be easy to make a text file, with all the paths and folder names that you want. Then just use that text file with this: http://www.sobolsoft.com/createfoldertext/ ss. |
My System Specs![]() |
| | #5 (permalink) |
| | Re: creating a new folder in multiple subfolders I am happy you did it. I also get angry when screwed up synaptic transmissions prowl this forum to prey on unsophisticated users to make a few bucks selling their sh*t. They use every chance, no shame displayed. You did it in record time. It would have taken perhaps 5 times as long for me. I do not do batches very often. Every time I have to refresh basics. "Miles" <Miles@xxxxxx> wrote in message news:06F004B7-EB98-4E2E-911E-F61E4E8C35A3@xxxxxx Quote: > I've got it sorted now, thanks for your help. > In the end I did a dir c:\***\*** > test.txt to get the list, took out the > rubbish and based my batch file around that. > > Thanks again > > "alexB" wrote: > Quote: >> The answer is yes, you can create a simple batch file that will do a >> simple >> looping and keep creating as many folders as you need. You will have to >> use >> DOS mkdir, cd, cd.. and some other commands. It is programming of sorts, >> albeit simple. It does require some debugging. You may find extensive >> resources on the web. Just google for batch files. >> >> "Miles" <Miles@xxxxxx> wrote in message >> news:C37C2FEF-06DA-4C29-896B-0DD7D9811531@xxxxxx Quote: >> >I basically need to create a subfolder in around 450 subfolders, within >> >8 >> > folders. Is there any way of doing this or will I have to do it >> > manually? >> > >> > Thanks. >> |
My System Specs![]() |
| | #6 (permalink) |
| | Re: creating a new folder in multiple subfolders Gee, doesnt' anyone do dos programming any more? All you do is for /r "c:\thedirectory" %x in (newdirectory) do echo "mkdir %x">>makedirs.bat call makedirs.bat rem interesting things will happen if you try "do mkdir %x" |
My System Specs![]() |
| | #7 (permalink) |
| | Re: creating a new folder in multiple subfolders "the wharf rat" <wrat@xxxxxx> wrote in message news:fmqibm$fd3$1@xxxxxx Quote: > > > Gee, doesnt' anyone do dos programming any more? All you do is > > > for /r "c:\thedirectory" %x in (newdirectory) do > echo "mkdir %x">>makedirs.bat > > call makedirs.bat > > rem interesting things will happen if you try "do mkdir %x" I cannot visualise how the OP wants the folders. What do you mean by the last bit? Quote: > rem interesting things will happen if you try "do mkdir %x" ss. |
My System Specs![]() |
| | #8 (permalink) |
| | Re: creating a new folder in multiple subfolders In article <ugcwi1eWIHA.5208@xxxxxx>, Synapse Syndrome <synapse@xxxxxx> wrote: Quote: >"the wharf rat" <wrat@xxxxxx> wrote in message Quote: >> >> rem interesting things will happen if you try "do mkdir %x" >What do you mean by the last bit? > on unix you get 1 foo directory per each existing directory because unix commands read the whole directory then iterate over the members. But if you do something like for /r %x in (blah) do mkdir %x you get ..\blah\blah\blah\blah ad infinitum until the path gets too long and crashes the script. That's because the dos for /r reads each directory entry, performs the operation and then moves to the next, eventually getting to the last one added which is \blah... See what happens? |
My System Specs![]() |
| | #9 (permalink) |
| | Re: creating a new folder in multiple subfolders In article <fmr6os$rri$1@xxxxxx>, the wharf rat <wrat@xxxxxx> wrote: Quote: >unix commands read the whole directory then iterate over the members. historical behavior :-) so one day it'll bite someone in the butt too. |
My System Specs![]() |
| | #10 (permalink) |
| | Re: creating a new folder in multiple subfolders Yep, this is the sad part, shall I say a downside or untoward side effect of progress. People forget simple, useful things when more advanced techniques come along. Your doc does not take you pulse anymore, all he does is to look into his monitor, not into your face. Docs of yesterday could get quite a few good tips from talking to their patients. "the wharf rat" <wrat@xxxxxx> wrote in message news:fmqibm$fd3$1@xxxxxx Quote: > > > Gee, doesnt' anyone do dos programming any more? All you do is > > > for /r "c:\thedirectory" %x in (newdirectory) do > echo "mkdir %x">>makedirs.bat > > call makedirs.bat > > rem interesting things will happen if you try "do mkdir %x" > > > > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Clean out old files from multiple subfolders | VB Script | |||
| Unzip a zip file which contains multiple subfolders using VBSCRIPT?! | VB Script | |||
| SendTo Folder with Subfolders | Vista General | |||
| Customize Windows Folder (and subfolders) | Vista General | |||
| Customize Folder -> Apply to Subfolders | Vista General | |||