Page 1 of 1

Create many folders

Posted: 2008-06-26, 22:43 UTC
by petergus
It's possible to create many folders with the "|" character.
But it's difficult to use if I have my folders names in a list, like this:

Folder 1
Folder 2
Folder 3
Folder 4

My suggestion is to change the New directory window, make it possible to add a list with folder names:

http://img524.imageshack.us/my.php?image=newfolderdialogjy2.jpg

The new window should also be resizable.

Posted: 2008-07-06, 11:21 UTC
by roentgen
I would also like to have something like that.

Posted: 2008-07-06, 11:43 UTC
by Peter
roentgen wrote:I would also like to have something like that.
Me too. A(n userdefined) delimiter (which is easier to type) instead of the pipe would be an option too.

Peter

Posted: 2008-07-06, 19:19 UTC
by StatusQuo
The disadvantage of such a multi-line F7-dialog would be, that (after entering the new dir name) you can't just use RETURN key anymore to create the dir.
So I'd vote for an additional MakeDir dialog instead of replacing the existing one.

Alternative ideas:

If you have the directory list copied into the clipboard:
- in a text editor like TextPad you can search&replace the RETURN characters (\n) with TC's delimiter (|) before copying the list into TC's F7 dialog

If you have the directory list in a text file:
- you could define this as a user defined command / button / start menu entry / etc.:

Code: Select all

Command  : TC_MakeDirFromListFile.cmd
Parameters: %P%N
Content of the batch file (save as TC_MakeDirFromListFile.uue with a Texteditor, then decode it with TC using cm_Decode):

Code: Select all

begin 644 TC_MakeDirFromListFile.cmd
M("`@0&5C:&\@;V9F#0H@("!S971L;V-A;`T*("`@<V5T(&-P06-T:79E/3`-
M"B`@('-E="!C<$]%33TP#0H-"B`@("`@(#H@<F5M(&-H96-K(&9O<B!E>&ES
M=&5N8V4@;V8@0TA#4"Y#3TTL(%)%1RY%6$4-"B`@(&-O<'D@.CHZ(&YU;"`R
M/FYU;`T*("`@8VAC<"YC;VT@+S\@/FYU;`T*("`@:68@;F]T(&5R<F]R;&5V
M96P@,2`H#0H@("`@("!C;W!Y(#HZ.B!N=6P@,CYN=6P-"B`@("`@(')E9RYE
M>&4@+S\@/FYU;`T*("`@*0T*("`@:68@97)R;W)L979E;"`Q("@-"B`@("`@
M(&5C:&\N#0H@("`@("!E8VAO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,2(]/2(B(&5C:&\@4WEN=&%X.B9E8VAO("`@("5^;G@P(")D.EQP
M871H7$YE=T1I<DQI<W0N='AT(B`@("`F9V]T;R!C90T*("`@#0H@("!F;W(@
M+T8@(G5S96)A8VMQ('1O:V5N<STJ(&1E;&EM<STB("4E92!I;B`H(B5^,2(I
M(&1O(&UD("(E)7YE(@T*("`@9V]T;R!C90T*#0HZ8V4-"B`@("`@(#H@<F5M
M(&QO860@05-#24DO3T5-(&-O9&5P86=E(&%G86EN#0H@("!I9B!N;W0@(B5C
M<$]%324B/3TB,"(@8VAC<"YC;VT@)6-P3T5-)2`^;G5L#0H-"CIE>`T*#0H@
M("`Z(')E;2!3>6YT87@Z("`@)7YN>#`@(F0Z7'!A=&A<3F5W1&ER3&ES="YT
%>'0B#0H`
`
end
sum -r/size 57283/1400

Posted: 2008-07-07, 08:29 UTC
by white
See this old thread for other ways to create multiple directories:
how can i create multiple directories?

Anyway, a Create-Multiple-Directories-Tool (in short CMDT :-) ) as an additional feature seems like a thing that would suit TC just fine.
StatusQuo wrote: The disadvantage of such a multi-line F7-dialog would be, that (after entering the new dir name) you can't just use RETURN key anymore to create the dir.
That can be solved by putting both an editbox and a memo-box on the dialog. Then, you would normally use the editbox to create only one folder and use the memo-box to create multiple folders. Then, only when the cursor is in the memo-box the RETURN key would not work.

Additonally the memo-box could be initially hidden and made visible by clicking a More Options button.

Posted: 2008-07-07, 10:40 UTC
by fenix_productions
2white
It looks complicated imho.
Why don't add a behaviour similar to message windows in IM applications? Ctrl+Enter could add new line and Enter still be responsible for OK. This way single TextEdit control with multiline property should be enough.

Posted: 2008-07-07, 12:46 UTC
by white
fenix_productions wrote:2white
It looks complicated imho.
Why don't add a behaviour similar to message windows in IM applications? Ctrl+Enter could add new line and Enter still be responsible for OK. This way single TextEdit control with multiline property should be enough.
I would actually rather have a separate dialog for making only one directory (the one that exists now) and a separate dialog for making multiple directories (which may look like the picture in the first post of this topic). The last one could be started by a menu entry in the Commands menu (Make Multiple Directories..)

Posted: 2008-07-07, 21:56 UTC
by wanderer
I remember i've seen in the past external programs that do the job. It's not the same as internal support, but it may help...

Re: Create many folders

Posted: 2019-08-13, 08:37 UTC
by onRock
F7
Directory01\..\Directory02\..\Directory03\..\Directory04\..\Directory05\..\Directory06\..\Directory07

Re: Create many folders

Posted: 2019-08-13, 09:39 UTC
by ghisler(Author)
or:
F7
Directory01|Directory02|Directory03|Directory04|Directory05|Directory06|Directory07

or if you really need numbered dirs:
F7
<1-7>Directory[C:2]
(the :2 is for 2 digit numbers)