Suggestion: "Multi-create Directories" function

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
-stefan-
New Member
New Member
Posts: 1
Joined: 2009-06-17, 15:36 UTC

Suggestion: "Multi-create Directories" function

Post by *-stefan- »

Hello all,

I'm new to this forum, but not new to Total Commander. :)

Wanted to hear some comments about a suggestion I have regarding the possibility to easily create multiple directories.

Example:

A user wants to create several individual directories, that shares the same name, only differentiated by numbers.

I.e...

<directoryname>01
<directoryname>02
<directoryname>03
etc...

I believe such a function could actually be useful.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2-stefan-
It is already possible to create multiple directories (just separate their names using pipe | symbol) but parameters handling could be even better.

Maybe some external tool can do it?

Support++
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
MVV
Power Member
Power Member
Posts: 8704
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

This feature may be easilly realised with external tool which may be run from TC toolbar or menu. I suggest to search for such tool.
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

2-stefan-
This batch solution looks promising: http://ghisler.ch/board/viewtopic.php?p=20486#20486
A little update to support spaces in the dir names:

Code: Select all

@echo off
:: Help
:: TC_MakeMultipleDirs.cmd <target dir> <name> <start_num> <end_num>

for /L %%N in (%3,1,%4) do md "%~1\%~2-%%N" 
Save as TC_MakeMultipleDirs.cmd and define a button etc. like this, creating dirs in current directory:

Code: Select all

Command   : %comspec% /c TC_MakeMultipleDirs.cmd
Parameters: ? . "dirname" 01 10
Works quite well here. I just can't find a solution for leading zeros right now.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
Vochomurka
Power Member
Power Member
Posts: 814
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Post by *Vochomurka »

Single user license #329241
PowerPro scripts for Total Commander
Post Reply