Creating multiple SUBfolders at once?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
al123456
Junior Member
Junior Member
Posts: 2
Joined: 2023-01-16, 14:09 UTC

Creating multiple SUBfolders at once?

Post by *al123456 »

Hi,

as most TC users will know, one can create multiple new folders (on the same level) at once in the new folder input box (F7) like this:
folder1|folder2|folder3.

I just found out that you can also create a new folder and a subfolder within in one swoop like this:
folder\subfolder.

However, there doesn't seem to be a way to create a new folder and *multiple* subfolders within one folder at the same time.

I tried something like
folder1\subfolder|folder2.
This gives me folder1 and folder2 on the same level, and one subfolder within folder1.
This also works:
folder1\subfolder1|folder2\subfolder2.
But then you get two new folders with one subfolder in each.

Yet I cannot find (or think of) a way to create *multiple* subfolders within *one* new folder.

Is there a way to do that (with the input box)?

TIA
Alex
User avatar
white
Power Member
Power Member
Posts: 4594
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Creating multiple SUBfolders at once?

Post by *white »

al123456 wrote: 2023-01-16, 16:54 UTC Yet I cannot find (or think of) a way to create *multiple* subfolders within *one* new folder.
Is there a way to do that (with the input box)?

Code: Select all

folder1\subfolder1\..\subfolder2\..\subfolder3
User avatar
Stefan2
Power Member
Power Member
Posts: 4133
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Creating multiple SUBfolders at once?

Post by *Stefan2 »

Hi, Alex, welcome to the community.

al123456 wrote: 2023-01-16, 16:54 UTC

You can also try out that VBS
viewtopic.php?t=76029

to create 0-byte dummy files and folders.


- save the VBS
- create a button
- go to wanted folder
- click the button
- enter:
folder1\SubFolder1\
folder1\SubFolder2\
folder2\SubFolder2\
folder3\SubFolder3\

- save the temp file
- you are prompted to created the files or to cancel





I have created that script to work on all PCs without the use of third party tools.



 
al123456
Junior Member
Junior Member
Posts: 2
Joined: 2023-01-16, 14:09 UTC

Re: Creating multiple SUBfolders at once?

Post by *al123456 »

white wrote: 2023-01-16, 17:46 UTC

Code: Select all

folder1\subfolder1\..\subfolder2\..\subfolder3
Yay, I would've never guessed that! Just created a structure with 3 Folders and 2 x 4 Subfolders in one go as a test.
Thank you so much!
Stefan2 wrote: 2023-01-16, 18:27 UTC Hi, Alex, welcome to the community.
Thanks, but I'm not really new. I just misplaced my registration data (incl. email) and created a new registration out of necessity.
Stefan2 wrote: 2023-01-16, 18:27 UTC You can also try out that VBS
viewtopic.php?t=76029
to create 0-byte dummy files and folders.
That'll come in handy when I want to create more complicated structures than right now. Many thanks for that as well!
For now, white's easier solution will do.
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: Creating multiple SUBfolders at once?

Post by *Fla$her »

Stefan2 wrote: 2023-01-16, 18:27 UTCYou can also try out that VBS
It looks too redundant.

2al123456
Try the button:

Code: Select all

TOTALCMD#BAR#DATA
%ComSpec% /q/c md folder1&cd folder1&md subfolder1&md subfolder2&md subfolder3

wcmicons.dll,29
Create subfolders

1
Overquoting is evil! 👎
Post Reply