Sorted Commands for Total Commander 6.01

English support forum

Moderators: Hacker, petermad, Stefan2, white

ay222
Junior Member
Junior Member
Posts: 42
Joined: 2003-11-26, 20:06 UTC

Sorted Commands for Total Commander 6.01

Post by *ay222 »

Total commander show its internal commands unsorted, so in many cases you remeber the command name but it is difficult to find it in the drop down list, but in sorted list it is very easy.
How to applay it:
1- Make a backup for the file [Totalcmd.inc]
2- Copy the following sorted list to the clipboard.
3- Open [Totalcmd.inc) with Notepad
4- Delete its contents then paste the sorted commands
5- save it.
6- Restart TC.
7- Enjoy with the new Sorted Commands :)

Important Note:
The lines start with [Character]= it is NOT a command, i had added it for clearness only, So don't use it.

===================
| Sorted Commands |
===================
[5]=
cm_50percent=909;Window separator at 50%
[A]=
cm_About=690;Help/About Total Commander
cm_AddPathToCmdline=2019;Copy path to command line
cm_AdministerServer=2204;Connect to admin share to open \\server\c$ etc.
cm_Associate=507;Associate
=
cm_ButtonConfig=498;Conf: Button bar
[C]=
cm_CDtree=500;Popup directory tree
cm_ChangeStartMenu=700;Change Start menu
cm_ClearAll=524;Unselect all
cm_ClearCmdLine=2004;Clear command line
cm_CloseAllTabs=3008;Close all
cm_CloseCurrentTab=3007;Close tab
cm_ColorConfig=494;Conf: Colors
cm_Combine=561;Combine partial files
cm_CompareDirs=533;Compare dirs
cm_CompareFilesByContent=2022;File comparison
cm_Config=490;Conf: General settings
cm_Config2=516;Conf: Extended settings
cm_configChangeIniFiles=581;Open ini files in notepad
cm_ConfigSavePos=493;Conf: Save position
cm_configSaveSettings=580;Save current paths etc.
cm_Confirmation=495;Conf: Confirmation
cm_ConfTabChange=497;Conf: Tabstops
cm_ContextMenu=2500;Show context menu
cm_Copy=905;Copy files
cm_CopyConfig=487;Conf: Copy/Delete
cm_CopyFullNamesToClip=2018;Copy names with full path
cm_CopyNamesToClip=2017;Copy filenames to clipboard
cm_CopyNetNamesToClip=2021;Copy names with UNC path
cm_copyOtherpanel=3101;Copy to other
cm_copySamepanel=3100;Copy within panel
cm_CopySrcPathToClip=2029;Copy source path to clipboard
cm_CopyToClipboard=2008;(32-bit) Copy selected files to clipboard
cm_CopyTrgPathToClip=2030;Copy target path to clipboard
cm_countdircontent=2014;Calculate space occupied by subdirs in current dir
cm_CRCcheck=565;Verify CRC checksums
cm_CRCcreate=564;Create CRC checksums
cm_CreateShortcut=1004;Create a shortcut
cm_CutToClipboard=2007;(32-bit) Cut selected files to clipboard
[D]=
cm_Decode=563;Decode MIME/UUE/XXE/BinHex
cm_Delete=908;Delete files
cm_DirBranch=2026;Show all files in current dir and all subdirs
cm_DirectCableConnect=2300;Connect to other PC by cable
cm_DirectoryHistory=572;History list
cm_DirectoryHotlist=526;Directory popup menu
cm_DirMatch=534;Mark newer
cm_DirTabsConfig=488;Conf: Directory tabs
cm_DirTabsShowMenu=3009;Show tab menu
cm_DisplayConfig=486;Conf: Display
[E]=
cm_Edit=904;Edit (Notepad)
cm_EditAuditInfo=2201;File auditing (NTFS)
cm_EditComment=2700;Edit file comment
cm_EditConfig=496;Conf: Viewer/Editor
cm_EditOwnerInfo=2202;Take ownership (NTFS)
cm_editpath=2912;Edit path field above file list
cm_EditPermissionInfo=2200;Permissions dialog (NTFS)
cm_EditPersmissionInfo=2200;Typo...
cm_Encode=562;Encode MIME/UUE/XXE
cm_Exchange=531;Swap panels
cm_ExchangeSelection=525;Invert selection
cm_ExchangeWithTabs=535;Swap all Tabs
cm_ExecuteDOS=511;Start DOS
cm_Exit=24340;Exit Total Commander
[F]=
cm_FileSync=2020;Synchronize directories
cm_focusleft=4001;Focus on left file list
cm_focusright=4002;Focus on right file list
cm_FontConfig=492;Conf: Font
cm_FtpAbort=554;Abort current FTP command
cm_ftpaddtolist=557;Add selected files to download list
cm_FtpConfig=489;FTP options
cm_FtpConnect=550;Connect to FTP
cm_FtpDisconnect=552;Disconnect from FTP
cm_ftpdownloadlist=558;Download files in download list
cm_FtpHiddenFiles=553;Show hidden FTP files
cm_FtpNew=551;New FTP connection
cm_FtpResumeDownload=555;Resume aborted download
cm_FtpSelectTransferMode=556;Select Binary, ASCII or Auto mode
[G]=
cm_GetFileSpace=503;Calculate space
cm_GoToDir=2003;Open dir or zip under cursor
cm_GotoNextDir=571;Go forward
cm_GoToParent=2002;Go to parent directory
cm_GotoPreviousDir=570;Go back
cm_GoToRoot=2001;Go to root directory
[H]=
cm_HelpIndex=610;Help index
[K]=
cm_Keyboard=620;Keyboard help
[L]=
cm_LanguageConfig=499;Conf: Language
cm_LeftAllFiles=112;Left: All files
cm_LeftByDateTime=124;Left: Sort by date
cm_LeftByExt=122;Left: Sort by extension
cm_LeftByName=121;Left: Sort by name
cm_LeftBySize=123;Left: Sort by size
cm_LeftComments=100;Left: Show comments
cm_LeftExecs=111;Left: Only programs
cm_LeftLong=102;Left: All file details
cm_LeftNegOrder=130;Left: Reversed order
cm_LeftOpenDrives=131;Left: Open drive list
cm_LeftQuickview=104;Left: Quick view panel
cm_LeftShort=101;Left: Only file names
cm_LeftTree=103;Left: Directory tree
cm_LeftUnsorted=125;Left: Unsorted
cm_LeftUserDef=114;Left: Select user type
cm_LeftUserSpec=113;Left: Last selected
cm_List=903;View with Lister
cm_LoadSelectionFromClip=2033;Read file selection from clipboard
cm_LoadSelectionFromFile=2032;Read file selection from file
[M]=
cm_MatchSrc=532;target=Source
cm_Maximize=2015;Maximize Total Commander
cm_Minimize=2000;Minimize Total Commander
cm_MkDir=907;Make directory
cm_MultiRenameFiles=2400;Rename multiple files
[N]=
cm_NetConnect=512;Network connections
cm_NetDisconnect=513;Disconnect network drives
cm_NetShareDir=514;Share directory
cm_NetUnshareDir=515;Unshare directory
cm_NextCommand=2005;Next command line
cm_NTinstallDriver=2301;Install parallel port driver on NT
cm_NTremoveDriver=2302;Remove parallel port driver on NT
[O]=
cm_OpenAsUser=2800;Open program under cursor as different user
cm_OpenControls=2123;Control panel
cm_OpenDesktop=2121;Desktop folder
cm_OpenDirInNewTab=3003;Open dir under cursor in tab
cm_OpenDirInNewTabOther=3004;Open dir under cursor (other window)
cm_OpenDrives=2122;My computer
cm_OpenFonts=2124;Fonts folder
cm_OpenNetwork=2125;Network neighborhood
cm_OpenNewTab=3001;Open new tab
cm_OpenNewTabBg=3002;Open new tab in background
cm_OpenPrinters=2126;Printers folder
cm_OpenRecycled=2127;Recycle bin
cm_OpenTransferManager=559;Background transfer manager
[P]=
cm_PackerConfig=491;Conf: Packer
cm_PackFiles=508;Pack files
cm_PasteFromClipboard=2009;(32-bit) Paste from clipboard to current dir
cm_PrevCommand=2006;Previous command line
cm_PrintDir=2027;Print current directory (with preview)
cm_printdirsub=2028;Print dir with subdirs
cm_PrintFile=504;Print file
cm_Properties=1003;Properties dialog
[R]=
cm_Register=630;Registration info
cm_RenameOnly=1002;Rename (Shift+F6)
cm_RenMov=906;Rename/Move files
cm_RereadSource=540;Reread source
cm_Restore=2016;Restore normal size
cm_RestoreSelection=529;Selection before last operation
cm_Return=1001;Simulate: Return pressed
cm_RightAllFiles=212;Right: All files
cm_RightByDateTime=224;Right: Sort by date
cm_RightByExt=222;Right: Sort by extension
cm_RightByName=221;Right: Sort by name
cm_RightBySize=223;Right: Sort by size
cm_RightComments=200;Right: Show comments
cm_RightExecs=211;Right: Only programs
cm_RightLong=202;Right: All file details
cm_RightNegOrder=230;Right: Reversed order
cm_RightOpenDrives=231;Right: Open drive list
cm_RightQuickview=204;Right: Quick view panel
cm_RightShort=201;Right: Only file names
cm_RightTree=203;Right: Directory tree
cm_RightUnsorted=225;Right: Unsorted
cm_RightUserDef=214;Right: Select user type
cm_RightUserSpec=213;Right: Last selected
=
cm_SaveSelection=530;Temporarily save selection
cm_SaveSelectionToFile=2031;Save file selection to file
cm_SearchFor=501;Search for
cm_SelectAll=523;Select all
cm_SelectCurrentExtension=527;Select all files with same ext.
cm_SetAttrib=502;Change attributes
cm_ShowFileUser=2203;Which remote user has opened a local file
cm_ShowHint=2914;Show file tip window
cm_ShowOnlySelected=2023;Hide files which aren't selected
cm_ShowQuickSearch=2915;Show name search window
cm_ShrinkSelection=522;Unselect group
cm_Split=560;Split file into pieces
cm_SpreadSelection=521;Select group
cm_SrcAllFiles=312;Source: All files
cm_SrcByDateTime=324;Source: Sort by date
cm_SrcByExt=322;Source: Sort by extension
cm_SrcByName=321;Source: Sort by name
cm_SrcBySize=323;Source: Sort by size
cm_SrcComments=300;Source: Show comments
cm_SrcExecs=311;Source: Only programs
cm_SrcLong=302;Source: All file details
cm_SrcNegOrder=330;Source: Reversed order
cm_SrcOpenDrives=331;Source: Open drive list
cm_SrcQuickview=304;Source: Quick view panel
cm_SrcShort=301;Source: Only file names
cm_SrcTree=303;Source: Directory tree
cm_SrcUnsorted=325;Source: Unsorted
cm_SrcUserDef=314;Source: Select user type
cm_SrcUserSpec=313;Source: Last selected
cm_Switch83Names=2013;Turn 8.3 names lowercase on/off
cm_SwitchDirSort=2012;Turn directory sorting by name on/off
cm_SwitchHidSys=2011;Turn hidden/system files on and off
cm_SwitchLongNames=2010;Turn long names on and off (Win9x/Me/NT/2000 only)
cm_SwitchToNextTab=3005;Same as Ctrl+Tab
cm_SwitchToPreviousTab=3006;Same as Ctrl+Shift+Tab
cm_SyncChangeDir=2600;Synchronous directory changing in both windows
cm_SysInfo=506;System information
[T]=
cm_TestArchive=518;Test selected archives
cm_ToggleLockCurrentTab=3010;Turn on/off tab locking
cm_TransferLeft=2024;Transfer dir under cursor to left window
cm_TransferRight=2025;Transfer dir under cursor to right window
=
cm_UnloadPlugins=2913;Unload all plugins
cm_UnpackFiles=509;Unpack all
cm_UnselectCurrentExtension=528;Unselect all files with same ext.
cm_usermenu1=701;Start first menu item in Start menu
cm_usermenu10=710;in totalcmd.inc!
cm_usermenu2=702;Second item
cm_usermenu3=703;Third item
cm_usermenu4=704;etc.
cm_usermenu5=705;
cm_usermenu6=706;
cm_usermenu7=707;
cm_usermenu8=708;You can add more
cm_usermenu9=709;custom user menu ids
[V]=
cm_VersionInfo=510;Version information
cm_VerticalPanels=305;File windows above each other
cm_visButtonbar=2901;Show/hide button bar
cm_visCmdLine=2910;Show/hide Command line
cm_visCurDir=2907;Show/hide current directory
cm_visDirTabs=2916;Show/hide folder tabs
cm_visDriveButtons=2902;Show/hide drive button bars
cm_visDriveCombo=2906;Show/hide drive combobox
cm_visFlatdriveButtons=2904;Buttons: Flat/normal mode
cm_visFlatInterface=2905;Interface: Flat/normal mode
cm_VisitHomepage=640;Visit http://www.ghisler.com/
cm_visKeyButtons=2911;Show/hide function key buttons
cm_visStatusbar=2909;Show/hide status bar
cm_visTabheader=2908;Show/hide tab header (sorting)
cm_visTwoDriveButtons=2903;Show/hide two drive bars
cm_VolumeId=505;Volume label
[Z]=
cm_ZipPackerConfig=485;Conf: ZIP packer
Last edited by ay222 on 2003-12-20, 15:20 UTC, edited 3 times in total.
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

Another way is to use a categorized list:
http://www.ghisler.ch/board/viewtopic.php?t=2299
It's a german thread, but don't hesitate to take a look at the categorized list (copy & paste).

I wrote a small prototype on how to make the command selection more userfriendly. Screenshot and download:
http://members.fortunecity.de/lefteous/#commandprototype
Raymond
Senior Member
Senior Member
Posts: 454
Joined: 2003-02-08, 15:43 UTC

Post by *Raymond »

Lefteous wrote: I wrote a small prototype on how to make the command selection more userfriendly. Screenshot and download:
http://members.fortunecity.de/lefteous/#commandprototype
A useful tool.
It will be better if it can do searching, like another tool "TC Commands List" does.
There's an another wish: copy the selected command, it will be handy when u want to edit wincmd.ini by hand.
ay222
Junior Member
Junior Member
Posts: 42
Joined: 2003-11-26, 20:06 UTC

Post by *ay222 »

2Lefteous
Another way is to use a categorized list:
http://www.ghisler.ch/board/viewtopic.php?t=2299
It's a german thread, but don't hesitate to take a look at the categorized list (copy & paste).
Ok, i see it and test the categorized list, but does not solve my problem, i remember the command name but still difficult to find it in categorized list.

any way when i see your categorized list it helped me to add seperate lines between the list.
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Raymond
A useful tool.
It will be better if it can do searching, like another tool "TC Commands List" does.
There's an another wish: copy the selected command, it will be handy when u want to edit wincmd.ini by hand.
As I wrote it's not a tool, it's just a prototype, a suggestion.

2ay222

As I wrote it's another way to make finding commands easier.
any way when i see your categorized list it helped me to add seperate lines between the list.
Yes, the list in the your posting is already categorized. Just change

----------------> A=0

to

[A]=0
Raymond
Senior Member
Senior Member
Posts: 454
Joined: 2003-02-08, 15:43 UTC

Post by *Raymond »

Lefteous wrote: As I wrote it's not a tool, it's just a prototype, a suggestion.
Will you stop here? I hope not. :)
ay222
Junior Member
Junior Member
Posts: 42
Joined: 2003-11-26, 20:06 UTC

Post by *ay222 »

2>Lefteous
Yes, the list in the your posting is already categorized. Just change

----------------> A=0

to

[A]=0
Ok, i did it, but is there is technical reason for this change?
Mr. Ghisler wrote this to you
Sieht schon sehr gut aus! Damit die Kategorien erscheinen, einfach folgende Syntax verwenden:
[Left]=0;

really i can not understand germany :( , but i can quiz that adding ( ; ) to the end of the line is the correct syntaxs, so i had added it. plz translate Mr. Ghisler comment to me.
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2ay222
Sieht schon sehr gut aus! Damit die Kategorien erscheinen, einfach folgende Syntax verwenden:
[Left]=0;
Translated: It looks already very good! To make the categories appear, simply use the following syntax
[Left]=0;
but i can quiz that adding ( ; ) to the end of the line is the correct syntaxs
I guess the semicolon is only necessary to separate the command id and the comment.



2Raymond
Will you stop here? I hope not.
I'm not the author of Total Commander, I'm not Mr. Ghisler. He is the one to make improvements. I will release addons from time to time if I think it could be useful, but command selection is a core feature.
Maybe I will use my prototype for another addon, but definetely not for command selecting.
User avatar
Pete
Junior Member
Junior Member
Posts: 88
Joined: 2003-02-08, 18:05 UTC
Location: Bodensee (Southern Germany)

Post by *Pete »

Lefteous,

thank You for Your "commandprototype".

Do You know Fabio Chelly's "TC Commands List"?
Advantage: nicer look.
Disadvantage: Sorting not possible.

Greets
Pete
Raymond
Senior Member
Senior Member
Posts: 454
Joined: 2003-02-08, 15:43 UTC

Post by *Raymond »

Pete wrote: Do You know Fabio Chelly's "TC Commands List"?
Advantage: nicer look.
Disadvantage: Sorting not possible.
Yes, it's the one I mentioned above. Only one thing I miss from it is, after search out the command I want, I can copy the selected command name right from there. So I can paste it when I edit wincmd.ini later.
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Pete
Sorting not possible.
You cannot sort the command list neither in "TC Commands List" nor in my prototype, but you can use a sorted commands list in both.
The prototype is just on how display categorization in a user friendly way, but without changes in the Totalcmd.inc format.
User avatar
Aezay
Senior Member
Senior Member
Posts: 269
Joined: 2003-02-12, 07:27 UTC
Location: Denmark
Contact:

Post by *Aezay »

In my program TC Script Editor I included an Internal Command Lister, it allow you to sort after constant name, value and how they appear in the TOTALCMD.INC. You can also apply a search filter like in Fabio's program.
Of all the planets I've been to, this one is my favorite.
rxyzzy
Junior Member
Junior Member
Posts: 15
Joined: 2003-12-04, 20:45 UTC

Post by *rxyzzy »

2 ay222

I have used your totalcmd.inc and I am also using the an explicit WCMD_ENG.MNU posted by someone else. With your sorted and enhanced totalcmd.inc when TC starts it says that it doesn't recognize the cm_VolumeId command from the menu file. This doesn't happen with just the sorted totalcmd.inc without the [A], , etc. entries.
ay222
Junior Member
Junior Member
Posts: 42
Joined: 2003-11-26, 20:06 UTC

Post by *ay222 »

rxyzzy wrote:2 ay222

I have used your totalcmd.inc and I am also using the an explicit WCMD_ENG.MNU posted by someone else. With your sorted and enhanced totalcmd.inc when TC starts it says that it doesn't recognize the cm_VolumeId command from the menu file. This doesn't happen with just the sorted totalcmd.inc without the [A], , etc. entries.


2rxyzzy
i guess that you have not select all the command list correctlly,specially the last three lines which contain the command missed in menu file, so try again :?
any way I have added these lines [A], , etc to separate commands alphabetically, so you can delete it, or change it with something else like ------ A ------=0

:?: in windows ME the Separate lines appear like this
[A]
but with windows XP appear like this
[A] ()
and when deleting the simicolon at the end of separate line it appear like win ME
anyone know why this happen?
User avatar
CADweazle
Senior Member
Senior Member
Posts: 297
Joined: 2003-04-03, 09:10 UTC
Location: Freiburg i.Br. Deutschland

Post by *CADweazle »

2ay222
... i guess that you have not select all the command list correctlly,specially the last three lines which contain the command missed in menu file, so try again
I´ve got the same problem here - and I´ve had copied the whole list...
Cheer up, Karl
Post Reply