This forum uses cookies. Click X button to hide this message. What is stored? 
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Create and save folders list in New Folder menu

 
Post new topic   Reply to topic    Total Commander Forum Index -> TC suggestions (English) Printable version
View previous topic :: View next topic  
Author Message
Sektor
Junior Member
Junior Member


Joined: 04 Apr 2007
Posts: 97
Location: Russia

PostPosted: Sat Sep 30, 2017 8:24 am    Post subject: Create and save folders list in New Folder menu Reply with quote

I have a need to frequently create same number of folders at once. As of now, TC has such functionality through pipeline token "|". And even this list is remembered in combobox. Alas, during the time, when I create other folders, this list will go away. So, it would be welcome if there would be ability to save frequently used folders list under some name and restore it when it's required. For instance, I frequently create folders "Folder1|Folder2|Folder3|Folder4". Then I can save this string under the name "MyList1". Then, after some time, in New Folder dialog I could select this list, and TC would create those four folders.
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34715
Location: Switzerland

PostPosted: Sun Oct 01, 2017 1:56 am    Post subject: Reply with quote

Try the new multi-folder creation in TC 9.10 beta! For example,
<1-4>Folder[C]
would create Folder1 .. Folder4
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Sektor
Junior Member
Junior Member


Joined: 04 Apr 2007
Posts: 97
Location: Russia

PostPosted: Sun Oct 01, 2017 2:07 am    Post subject: Reply with quote

@ghisler
I gave a bad example) My folders are name not like Folder1, Folder2 etc., but they have names of regions.
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34715
Location: Switzerland

PostPosted: Sun Oct 01, 2017 2:13 am    Post subject: Reply with quote

I see - you could make the history length longer by adding e.g.
MaxItemsInComboBox=100
to wincmd.ini section [Configuration]. Maximum supported is 500.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Sektor
Junior Member
Junior Member


Joined: 04 Apr 2007
Posts: 97
Location: Russia

PostPosted: Sun Oct 01, 2017 2:17 am    Post subject: Reply with quote

@ghisler
It's not comfortable to search for 347-th record in drop down list)
As I see, this would be some drop down with named lists. I select a name - and folders are being created.
Back to top
View user's profile Send private message
Gral
Power Member
Power Member


Joined: 26 Jan 2005
Posts: 520

PostPosted: Sun Oct 01, 2017 4:20 am    Post subject: Reply with quote

IMO, for such a task much more comfortable is create BAT (CMD) file with set of "MD" commands and put in the path, or AHK script and assign alias or hotkey for it.

BAT file example:
Code:
MD "Directory Number 1"
MD "Directory Number 2"
MD "Folder Number 1"
MD "Folder Number 2"
MD "1 2 3 4 5 6 7 8 9 0"
MD "a b c d e f g h i j k l m n o p q r s t u v w x y z"
MD "Folder or Directory (whatever you prefer) with long, very long, or even longer name"


AHK example
Code:
FileCreateDir, Directory Number 1
FileCreateDir, Directory Number 2
FileCreateDir, Folder  Number 1
FileCreateDir, Folder  Number 2
FileCreateDir, 1 2 3 4 5 6 7 8 9 0
FileCreateDir, a b c d e f g h i j k l m n o p q r s t u v w x y z
FileCreateDir, Folder or Directory (whatever you prefer) with long, very long, or even longer name


For using AutoHotkey script you don't even need install AutoHotkey program, just download, unpack to TC subdirectory and create TC external command, e.g.:
Code:
[em_MD_AHK_1]
cmd=%COMMANDER_PATH%\AHK\AutoHotkey.exe %COMMANDER_PATH%\AHK\MD_AHK_1.AHK
menu=Make directory AHK set 1

then assign alias or keyboard shortcut for it.
Back to top
View user's profile Send private message
Sektor
Junior Member
Junior Member


Joined: 04 Apr 2007
Posts: 97
Location: Russia

PostPosted: Sat Oct 07, 2017 12:12 am    Post subject: Reply with quote

@Gral I didn't ask for external solution (why would I bother?) but I want this to be native solution. All TC must do is just to restore a string.

@ghisler So, can it be implemented the way I ask? :)
_________________
#299429
There is no knowledge that is not power
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC suggestions (English) All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group