Office & Productivity Software forum

General discussion

Multiple Subfolder Creation

by elysenotelsie / January 24, 2008 3:16 AM PST

Common sense tells me there has to be a way to do this but I'm stumped. Using Microsoft Office (presumably 2003, not 2007) on the job. I'm trying to save myself A LOT of time here; I have to create one subfolder "Z" to be copied/inserted into several hundred other folders, all located within the same main folder "A". I could go into each folder and create a "Z" folder, but this could take a prohibitively long time. I'm convinced there's a direct command out there for simultaneous folder creation in multiple folders, but I have no clue where to start. Any thoughts? Or am I pipedreaming that Microsoft would ever be so considerate in the first place?

Discussion is locked
You are posting a reply to: Multiple Subfolder Creation
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Multiple Subfolder Creation
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Re: multiple subfolder creation.
by Kees Bakker / January 24, 2008 5:26 AM PST

Sorry, no, this isn't a feature of Windows.

You can do it in the GUI, or write a batch file (with separate lines for all those several 100 folders) or spend a few hours (or more) to master VBscript and write a script to do it.

If there's any logic in the names of the several 100 folders, I think that writing a batch file would be the fastest way. Something like:

cd mainfolder
cd subfolder1
md Z
cd ..
cd subfolder2
md Z
cd ..
etc

Hope this helps


Kees

Collapse -
I love to hate Windows
by elysenotelsie / January 24, 2008 5:41 AM PST

Thanks! At least now I have somewhere to start. I'll see what I can pull off Happy

Collapse -
Thought...
by Papa Echo / January 24, 2008 6:03 AM PST

Windows do not like folders or files with the same names... hence the absence of any "support". It may save you a little time if you "copy" instead of "create", i.e. Use "Ctrl+C" once, then use "Ctrl+V" on each of the folders you want it copied to, rather than going to each folder and create a folder and name it "Z".
Using a batch file, you will need to write your 100's lines folder names. Either way, its time comsuming and take some effort. Maybe you need to think about why you need to copy the colder 100's times...

Collapse -
As is often the case-
by elysenotelsie / January 24, 2008 6:19 AM PST
In reply to: Thought...

I have to do the folder-creation because one of my bosses- who is not terribly bright or resourceful- has decided it must be so. This sort of thng happens a lot. Copying seems like a good idea tho.

Popular Forums
icon
Computer Newbies 10,686 discussions
icon
Computer Help 54,365 discussions
icon
Laptops 21,181 discussions
icon
Networking & Wireless 16,313 discussions
icon
Phones 17,137 discussions
icon
Security 31,287 discussions
icon
TVs & Home Theaters 22,101 discussions
icon
Windows 7 8,164 discussions
icon
Windows 10 2,657 discussions

CNET FORUMS TOP DISCUSSION

Help, my PC with Windows 10 won't shut down properly

Since upgrading to Windows 10 my computer won't shut down properly. I use the menu button shutdown and the screen goes blank, but the system does not fully shut down. The only way to get it to shut down is to hold the physical power button down till it shuts down. Any suggestions?