4 comments

  • Notes from a Folders Popup support page thread:

    Daniel says:
    2014-10-15 at 08:16

    Great.
    I don’t see integration with total commander directory hotlist. It is essential feature.
    Is it planned?

    Jean Lalonde says:
    2014-10-15 at 08:30

    Thank you for your input Daniel. My first thoughts was that this feature was already easily accessible inside TC. I’d have to look at it more deeply and find if I can retrieve the hotlist via a TC internal command.Daniel says:

    Daniel says:
    2014-10-16 at 10:01

    Jean, the content of the directory hotlist is in the wincmd.ini file under [DirMenu]section. AFAIK, there is not internal command for retrieving the list.
    Maybe you can check Flashfolder’s source code to see how it retrieive the menu. http://sourceforge.net/projects/flashfolder/

    Jean Lalonde says:
    2014-10-16 at 18:50

    Hi Daniel,

    No problem for reading this ini file. How did you imagine integrating this list in FP (considering it is already avail in TC).

    At least for a first implementation, I could only read the “cmdX=” lines and process only those with “CD” commands. I would put these entries in a special FP menu that could be called “TC directory menu” (that seems to be the official TC name?) or “TC hotlist”. Later, I could process the submenu structure but I have other features to implement before this.

    What do you think of it?

    Daniel says:
    2014-10-17 at 09:44

    Yes I think it is the proper way to be done. Above or below ‘Tc Windows/Explorer’ line would be a good position for this menu. ‘Directory hotlist’ is its official name.

  • Example of wincmd.ini Directory hotlist data:

    [DirMenu]
    menu1=Root
    cmd1=cd c:\
    menu2=-Sub1
    menu3=E:\
    cmd3=cd E:\
    menu4=-Sub11
    menu5=Adobe with target
    cmd5=cd E:\Mes Documents-BK\Adobe
    path5=C:\Users\Jean\Pictures\20130515-0601 France-Barcelone\
    menu6=--
    menu7=Sub2
    menu8=X
    menu9=--
    menu10=Mes Documents-BK
    cmd10=cd E:\Mes Documents-BK
    menu11=Traktor
    cmd11=cd C:\Users\Jean\Music\Traktor
  • Abstract from
    Mastering Directory HotList Doc 1.5 (Panos Davitidis, pdavit@hotmail.com)
    http://totalcmd.net/plugring/Mastering_HotList_Doc.html

    [DirMenu]
    menu1=CONTROL &PANEL
    cmd1=cm_OpenControls
    menu2=-
    menu3=&DESKTOP
    cmd3=cm_OpenDesktop
    menu4=-
    menu5=-C: Documents and &Settings
    menu6=&Root
    cmd6=cd c:\Documents and Settings
    menu7=-
    menu8=&Administrator
    cmd8=cd c:\Documents and Settings\administrator
    menu9=All &Users
    cmd9=cd c:\Documents and Settings\All Users
    menu10=-
    menu11=&Panos
    cmd11=cd c:\Documents and Settings\Panos
    menu12=&Nick
    cmd12=cd c:\Documents and Settings\Nick
    menu13=&Claire
    cmd13=cd c:\Documents and Settings\Claire
    menu14=&Zoe
    cmd14=cd c:\Documents and Settings\Zoe
    menu15=--
    menu16=-
    menu17=C: Total&Cmd
    cmd17=cd c:\Program Files\totalcmd
    menu18=-C: &Windows
    menu19=&Root
    cmd19=cd c:\WINDOWS
    menu20=&Common Files
    cmd20=cd c:\Program Files\Common Files
    menu21=Pr&oductivity
    cmd21=cd c:\Program Files\Productivity
    menu22=Program &Files
    cmd22=cd c:\Program Files
    menu23=&Microsoft Office
    cmd23=cd c:\Program Files\Microsoft Office
    menu24=MutiM&edia
    cmd24=cd c:\Program Files\MutiMedia
    menu25=&Utilities
    cmd25=cd c:\Program Files\Utilities
    menu26=--
    menu27=-
    menu28=D: Down&loads
    cmd28=cd D:\Downloads
    menu29=-D: &Software
    menu30=&Internet
    cmd30=cd D:\Software\Internet
    menu31=&Multimedia
    cmd31=cd D:\Software\Multimedia
    menu32=&Productivity
    cmd32=cd D:\Software\Productivity
    menu33=&Unsorted
    cmd33=cd D:\Software\Unsorted
    menu34=Utiliti&es
    cmd34=cd D:\Software\Utilities
    menu35=&Various
    cmd35=cd D:\Software\Various
    menu36=--
    menu37=D: &Images
    cmd37=cd D:\Images
    menu38=D: &Games
    cmd38=cd D:\Games
    menu39=D: Ci&nema
    cmd39=cd D:\Cinema
    menu40=D: &MP3s
    cmd40=cd D:\MP3s
    menu41=D: &Temp
    cmd41=cd D:\Temp
    menu42=-
    menu43=-&X: Server\Prg
    menu44=&Root
    cmd44=cd X:\
    menu45=&Applications
    cmd45=cd X:\Applications
    menu46=&Graphics
    cmd46=cd X:\Graphics
    menu47=&Internet
    cmd47=cd X:\Internet
    menu48=&Multimedia
    cmd48=cd X:\Multimedia
    menu49=&Productivity
    cmd49=cd X:\Productivity
    menu50=&Utilities
    cmd50=cd X:\Utilities
    menu51=&Various
    cmd51=cd X:\Various
    menu52=--
    menu53=-&Y: Server\Drivers
    menu54=&Root
    cmd54=cd Y:\
    menu55=&Modem
    cmd55=cd Y:\Modem
    menu56=Mother&Board
    cmd56=cd Y:\MotherBoard
    menu57=&Printer
    cmd57=cd Y:\Printer
    menu58=&Scanner
    cmd58=cd Y:\Scanner
    menu59=So&und
    cmd59=cd Y:\Sound
    menu60=&Display
    cmd60=cd Y:\Display
    menu61=--
    menu62=-&Z: Server\Users
    menu63=&Root
    cmd63=cd Z:\
    menu64=&Admin
    cmd64=cd Z:\Admin
    menu65=&Power
    cmd65=cd Z:\Power
    menu66=A&cademic
    cmd66=cd Z:\Academic
    menu67=Teaching &Staff
    cmd67=cd Z:\Teaching Staff
    menu68=&Trainee
    cmd68=cd Z:\Trainee
    menu69=&Guest
    cmd69=cd Z:\Guest
    menu70=--

    	The above code (previous page) will have to outcome shown in Figure 3 (page 6). For every entry you usually see a pair of commands one corresponding to the title of the entry (e.g. menu58) and one for the command to be executed (e.g. cmd58). In those cases where the target path is also stored, you will see a third entry (e.g. path58) which will include the saved destination folder.  
    
    	A sub-menu starts with the “-” character before its title and a double dash “--” specifies its end. A single divider as has been mentioned before is just the “-” character. 
    
    	Please, note the extensive use of the “&” character in order to create keyboard shortcuts for fast access of the corresponding entries. 
    
    	The only situations that do not follow the pair configuration are the divider and the notation of the beginning and end of a sub-menu. Of course, as it has been mentioned before, saving the target path will produce a three command configuration.  
    
    	Total Commander also allows manually disabling parts of the user interface. To disable the Directory HotList enter the value 32 in the entry RestrictInterface under the section [Configuration] of your INI file. Your corresponding line should read:
    
    RestrictInterface=32   
    
    This will partially block any changes to the Directory HotList.

    4.1 Path Syntax Notation 
    
    There are four main syntax configurations according to the type of path you have stored in your directory menu, as follows: 
    
    1.	The typical and well know local drive paths. The syntax is as follows: 
    
    cd driveLetter:\dirName\subDir1Name\subDir2Name\...\subDirNName
    
    e.g. cd D:\Downloads\Music\MP3s\Jazz
    
    
    2.	The notation of LAN machines and/or elements with the following syntax:
    
    cd \\remoteLocationOrMachineName\FolderName1\...\FolderNameN\O$
    
    Where O is an optional value that denotes a local, to the remote machine, element that can have assigned to it a logical or physical element’s name. The path actually can continue from that point on with the folder names of the remote machine’s local paths. 
    
    e.g.		a. 	cd \\nserver\printers  
    		  	cd \\nserver\Scheduled Tasks\*.* 
               	cd \\nserver\faxes\ 
    
    		b. 	cd \\ns_finance_dep1\c$
    		  	cd \\ns_finance_dep1\d$\FreeTime\MP3s
    
    Remark: If you have previously mapped remote machines they will now have a drive letter assigned to them and the syntax will be similar to the one in configuration 1.
    
    
    
    Cont’d…
    
    
    3.	The notation of FTP addresses with the users’ directory area. How the syntax and the directory structure will look like depends here on the type of the FTP server. Here is a typical syntax with an example: 
    
    a. cd ftp://prividersName@userLogonName/Path1/Path2/.../PathN
    
         e.g. cd ftp://PowerNet@JackDanniels/html/images  
     
    b. cd ftp://username:password@ftp.domain.com/any/path/ 
    
        e.g. cd ftp://johnny:P82X3fG-P@ftp.mozilla.org/dev/stable/
    
    Notice the use of forward slashes which denotes that this is probably a UNIX server. 
    
    
    4.	The notation of TC’s FileSystem Plug-ins. In this case you should follow configuration number 2 with the only difference that now the prefix consists of three back slashes. Here is an example: 
    
    e.g. cd \\\Event Log\*.*
    
    
        	   5.   Since v6.52 of TC an experimental support for IPv6 internet addresses has been added 
                        for FTP and HTTP. Under special cases this may require syntax not covered above.    
                        Refer to the corresponding provider and to the author of TC for further help.  
    
    
    
      Remark: You cannot modify the commands’ section to include commands other than path locations (physical or logical) and internal commands of TotalCmd.

Leave a Reply