FAQs: TC-interne Kommandos (cm_xxx) / Befehlsbrowser cm_CommandBrowser

German support forum

Moderators: Hacker, Stefan2, white, sheep

Post Reply
User avatar
Stefan2
Power Member
Power Member
Posts: 2083
Joined: 2007-09-13, 22:20 UTC
Location: Europa

FAQs: TC-interne Kommandos (cm_xxx) / Befehlsbrowser cm_CommandBrowser

Post by *Stefan2 » 2017-12-07, 11:05 UTC

 Wusstest du schon...

wenn man in der TC-Kommandozeile (Konfigurieren > Einstellungen... > Layout)

'cm_CommandBrowser' eintippt, erscheint eine Liste aller TC-internen Befehle :shock:

Diese Kommandos können zB verwendet werden:
- in der TC-Kommandozeile
- in einem Button
- in User-definierten Befehlen
- in Einstellungen > Diverses > Tastaturkombinationen
- über einen Alias
- in einer Menüdatei
- von externen Tools mittels SendMessage, um den TC fernzusteuern


Zur Verwendung siehe "FAQs: Button anlegen / Buttonbar erstellen / Icons" >>> viewtopic.php?f=2&t=50016&p=342115#p342115



Für eine Liste der TC-internen Befehle öffne den 'cm_CommandBrowser' ,
oder zB auch mit Klick auf das Lupen-Symbol, zB im "Button ändern"-Dialog
oder öffne die 'TOTALCMD.INC' Textdatei aus dem TC-Ordner mit einem Editor ('F4' im TC):
TOTALCMD.INC v9.12Show
[________________Source________________]=0
cm_SrcComments=300;Source: Show comments
cm_SrcShort=301;Source: Only file names
cm_SrcLong=302;Source: All file details
cm_SrcTree=303;Source: Directory tree
cm_SrcQuickview=304;Source: Quick view panel
cm_VerticalPanels=305;File windows above each other
cm_SrcQuickInternalOnly=306;Source: Quick view, no plugins
cm_SrcHideQuickview=307;Source: Quick view panel off
cm_SrcExecs=311;Source: Only programs
cm_SrcAllFiles=312;Source: All files
cm_SrcUserSpec=313;Source: Last selected
cm_SrcUserDef=314;Source: Select user type
cm_SrcByName=321;Source: Sort by name
cm_SrcByExt=322;Source: Sort by extension
cm_SrcBySize=323;Source: Sort by size
cm_SrcByDateTime=324;Source: Sort by date
cm_SrcUnsorted=325;Source: Unsorted
cm_SrcNegOrder=330;Source: Reversed order
cm_SrcOpenDrives=331;Source: Open drive list
cm_SrcThumbs=269;Source: Thumbnail view
cm_SrcCustomViewMenu=270;Source: Custom view menu
cm_SrcPathFocus=332;Source: Put focus on path

[________________Left________________]=0
cm_LeftComments=100;Left: Show comments
cm_LeftShort=101;Left: Only file names
cm_LeftLong=102;Left: All file details
cm_LeftTree=103;Left: Directory tree
cm_LeftQuickview=104;Left: Quick view panel
cm_LeftQuickInternalOnly=106;Left: Quick view, no plugins
cm_LeftHideQuickview=107;Left: Quick view panel off
cm_LeftExecs=111;Left: Only programs
cm_LeftAllFiles=112;Left: All files
cm_LeftUserSpec=113;Left: Last selected
cm_LeftUserDef=114;Left: Select user type
cm_LeftByName=121;Left: Sort by name
cm_LeftByExt=122;Left: Sort by extension
cm_LeftBySize=123;Left: Sort by size
cm_LeftByDateTime=124;Left: Sort by date
cm_LeftUnsorted=125;Left: Unsorted
cm_LeftNegOrder=130;Left: Reversed order
cm_LeftOpenDrives=131;Left: Open drive list
cm_LeftPathFocus=132;Left: Put focus on path
cm_LeftDirBranch=2034;Left: Branch view
cm_LeftDirBranchSel=2047;Left: branch view, only selected
cm_LeftThumbs=69;Left: Thumbnail view
cm_LeftCustomViewMenu=70;Left: Custom view menu

[________________Right________________]=0
cm_RightComments=200;Right: Show comments
cm_RightShort=201;Right: Only file names
cm_RightLong=202;Right: All file details
cm_RightTree=203;Right: Directory tree
cm_RightQuickview=204;Right: Quick view panel
cm_RightQuickInternalOnly=206;Right: Quick view, no plugins
cm_RightHideQuickview=207;Right: Quick view panel off
cm_RightExecs=211;Right: Only programs
cm_RightAllFiles=212;Right: All files
cm_RightUserSpec=213;Right: Last selected
cm_RightUserDef=214;Right: Select user type
cm_RightByName=221;Right: Sort by name
cm_RightByExt=222;Right: Sort by extension
cm_RightBySize=223;Right: Sort by size
cm_RightByDateTime=224;Right: Sort by date
cm_RightUnsorted=225;Right: Unsorted
cm_RightNegOrder=230;Right: Reversed order
cm_RightOpenDrives=231;Right: Open drive list
cm_RightPathFocus=232;Right: Put focus on path
cm_RightDirBranch=2035;Right: branch view
cm_RightDirBranchSel=2048;Right: branch view, only selected
cm_RightThumbs=169;Right: Thumbnail view
cm_RightCustomViewMenu=170;Right: Custom view menu

[________________FileOperations________________]=0
cm_List=903;View with Lister
cm_ListInternalOnly=1006;Lister without plugins/multimedia
cm_Edit=904;Edit (Notepad)
cm_Copy=905;Copy files
cm_CopySamepanel=3100;Copy within panel
cm_CopyOtherpanel=3101;Copy to other
cm_RenMov=906;Rename/Move files
cm_MkDir=907;Make directory
cm_Delete=908;Delete files
cm_TestArchive=518;Test selected archives
cm_PackFiles=508;Pack files
cm_UnpackFiles=509;Unpack all
cm_RenameOnly=1002;Rename (Shift+F6)
cm_RenameSingleFile=1007;Rename file under cursor
cm_MoveOnly=1005;Move (F6)
cm_Properties=1003;Properties dialog
cm_CreateShortcut=1004;Create a shortcut
cm_Return=1001;Simulate: Return pressed
cm_OpenAsUser=2800;Open program under cursor as different user
cm_Split=560;Split file into pieces
cm_Combine=561;Combine partial files
cm_Encode=562;Encode MIME/UUE/XXE
cm_Decode=563;Decode MIME/UUE/XXE/BinHex
cm_CRCcreate=564;Create CRC checksums
cm_CRCcheck=565;Verify CRC checksums
cm_SetAttrib=502;Change attributes

[________________Configuration________________]=0
cm_Config=490;Conf: Layout (first page)
cm_DisplayConfig=486;Conf: Display
cm_IconConfig=477;Conf: Icons
cm_FontConfig=492;Conf: Font
cm_ColorConfig=494;Conf: Colors
cm_ConfTabChange=497;Conf: Tabstops
cm_DirTabsConfig=488;Conf: Directory tabs
cm_CustomColumnConfig=483;Conf: Custom colums
cm_CustomColumnDlg=2920;Change current custom columns
cm_LanguageConfig=499;Conf: Language
cm_Config2=516;Conf: Operation
cm_EditConfig=496;Conf: Viewer/Editor
cm_CopyConfig=487;Conf: Copy/Delete
cm_RefreshConfig=478;Conf: Refresh file lists
cm_QuickSearchConfig=479;Conf: Quick Search
cm_FtpConfig=489;FTP options
cm_PluginsConfig=484;Conf: Plugins
cm_ThumbnailsConfig=482;Conf: Thumbnails
cm_LogConfig=481;Conf: Log file
cm_IgnoreConfig=480;Conf: Ignore list
cm_PackerConfig=491;Conf: Packer
cm_ZipPackerConfig=485;Conf: ZIP packer
cm_Confirmation=495;Conf: Misc, Confirmation
cm_ConfigSavePos=493;Conf: Save position
cm_ButtonConfig=498;Conf: Button bar
cm_ConfigSaveSettings=580;Save current paths etc.
cm_ConfigChangeIniFiles=581;Open ini files in notepad
cm_ConfigSaveDirHistory=582;Save directory history
cm_ChangeStartMenu=700;Change Start menu

[________________Network________________]=0
cm_NetConnect=512;Network connections
cm_NetDisconnect=513;Disconnect network drives
cm_NetShareDir=514;Share directory
cm_NetUnshareDir=515;Unshare directory
cm_AdministerServer=2204;Connect to admin share to open \\server\c$ etc.
cm_ShowFileUser=2203;Which remote user has opened a local file

[________________Misc________________]=0
cm_GetFileSpace=503;Calculate space
cm_VolumeId=505;Volume label
cm_VersionInfo=510;Version information
cm_ExecuteDOS=511;Open command prompt window
cm_CompareDirs=533;Compare dirs
cm_CompareDirsWithSubdirs=536;Also mark subdirs not present in other dir
cm_ContextMenu=2500;Show context menu
cm_ContextMenuInternal=2927;Show context menu for internal associations
cm_ContextMenuInternalCursor=2928;Internal context menu for file under cursor
cm_ShowRemoteMenu=2930;Context menu for Media Center remote control Play/Pause
cm_SyncChangeDir=2600;Synchronous directory changing in both windows
cm_EditComment=2700;Edit file comment
cm_FocusLeft=4001;Focus on left file list
cm_FocusRight=4002;Focus on right file list
cm_FocusCmdLine=4003;Focus on command line
cm_FocusButtonBar=4004;Focus on button bar
cm_CountDirContent=2014;Calculate space occupied by subdirs in current dir
cm_UnloadPlugins=2913;Unload all plugins
cm_DirMatch=534;Mark newer
cm_Exchange=531;Swap panels
cm_MatchSrc=532;target=Source
cm_ReloadSelThumbs=2918;Re-load selected thumbnails

[________________ParallelPort________________]=0
cm_DirectCableConnect=2300;Connect to other PC by cable
cm_NTinstallDriver=2301;Install parallel port driver on NT
cm_NTremoveDriver=2302;Remove parallel port driver on NT

[________________Print________________]=0
cm_PrintDir=2027;Print current directory (with preview)
cm_PrintDirSub=2028;Print dir with subdirs
cm_PrintFile=504;Print file

[________________Mark________________]=0
cm_SpreadSelection=521;Select group
cm_SelectBoth=3311;Select group: files+folders
cm_SelectFiles=3312;Select group: just files
cm_SelectFolders=3313;Select group: just folders
cm_ShrinkSelection=522;Unselect group
cm_ClearFiles=3314;Unselect group: just files
cm_ClearFolders=3315;Unselect group: just folders
cm_ClearSelCfg=3316;Unselect group (files or both, as configured)
cm_SelectAll=523;Select all (files or both, as configured)
cm_SelectAllBoth=3301;Select both files+folders
cm_SelectAllFiles=3302;Select all files
cm_SelectAllFolders=3303;Select all folders
cm_ClearAll=524;Unselect all (files+folders)
cm_ClearAllFiles=3304;Unselect all files
cm_ClearAllFolders=3305;Unselect all folders
cm_ClearAllCfg=3306;Unselect all (files or both, as configured)
cm_ExchangeSelection=525;Invert selection
cm_ExchangeSelBoth=3321;Invert selection (files+folders)
cm_ExchangeSelFiles=3322;Invert selection (files)
cm_ExchangeSelFolders=3323;Invert selection (folders)
cm_SelectCurrentExtension=527;Select all files with same ext.
cm_UnselectCurrentExtension=528;Unselect all files with same ext.
cm_SelectCurrentName=541;Select all files with same name
cm_UnselectCurrentName=542;Unselect all files with same name
cm_SelectCurrentNameExt=543;Select all files with same name+ext.
cm_UnselectCurrentNameExt=544;Unselect all files with same name+ext.
cm_SelectCurrentPath=537;Select all in same path (for branch view+search)
cm_UnselectCurrentPath=538;Unselect all in same path
cm_RestoreSelection=529;Selection before last operation
cm_SaveSelection=530;Temporarily save selection
cm_SaveSelectionToFile=2031;Save file selection to file
cm_SaveSelectionToFileA=2041;Save file selection to file (ANSI)
cm_SaveSelectionToFileW=2042;Save file selection to file (Unicode)
cm_SaveDetailsToFile=2039;Save all shown columns to file
cm_SaveDetailsToFileA=2043;Save all shown columns to file (ANSI)
cm_SaveDetailsToFileW=2044;Save all shown columns to file (Unicode)
cm_LoadSelectionFromFile=2032;Read file selection from file
cm_LoadSelectionFromClip=2033;Read file selection from clipboard

[________________Security________________]=0
cm_EditPermissionInfo=2200;Permissions dialog (NTFS)
cm_EditPersmissionInfo=2200;Typo...
cm_EditAuditInfo=2201;File auditing (NTFS)
cm_EditOwnerInfo=2202;Take ownership (NTFS)

[________________Clipboard________________]=0
cm_CutToClipboard=2007;Cut selected files to clipboard
cm_CopyToClipboard=2008;Copy selected files to clipboard
cm_PasteFromClipboard=2009;Paste from clipboard to current dir
cm_CopyNamesToClip=2017;Copy filenames to clipboard
cm_CopyFullNamesToClip=2018;Copy names with full path
cm_CopyNetNamesToClip=2021;Copy names with UNC path
cm_CopySrcPathToClip=2029;Copy source path to clipboard
cm_CopyTrgPathToClip=2030;Copy target path to clipboard
cm_CopyFileDetailsToClip=2036;Copy all shown columns
cm_CopyFpFileDetailsToClip=2037;Copy all columns, with full path
cm_CopyNetFileDetailsToClip=2038;Copy all columns, with UNC path

[________________FTP________________]=0
cm_FtpConnect=550;Connect to FTP
cm_FtpNew=551;New FTP connection
cm_FtpDisconnect=552;Disconnect from FTP
cm_FtpHiddenFiles=553;Show hidden FTP files
cm_FtpAbort=554;Abort current FTP command
cm_FtpResumeDownload=555;Resume aborted download
cm_FtpSelectTransferMode=556;Select Binary, ASCII or Auto mode
cm_FtpAddToList=557;Add selected files to download list
cm_FtpDownloadList=558;Download files in download list

[________________Navigation________________]=0
cm_GotoPreviousDir=570;Go back
cm_GotoNextDir=571;Go forward
cm_DirectoryHistory=572;History list
cm_GotoPreviousLocalDir=573;Go back, no ftp
cm_GotoNextLocalDir=574;Go forward, no ftp
cm_DirectoryHotlist=526;Directory popup menu
cm_GoToRoot=2001;Go to root directory
cm_GoToParent=2002;Go to parent directory
cm_GoToDir=2003;Open dir or zip under cursor
cm_OpenDesktop=2121;Desktop folder
cm_OpenDrives=2122;My computer
cm_OpenControls=2123;Control panel
cm_OpenFonts=2124;Fonts folder
cm_OpenNetwork=2125;Network neighborhood
cm_OpenPrinters=2126;Printers folder
cm_OpenRecycled=2127;Recycle bin
cm_CDtree=500;Popup directory tree
cm_TransferLeft=2024;Transfer dir under cursor to left window
cm_TransferRight=2025;Transfer dir under cursor to right window
cm_EditPath=2912;Edit path field above file list
cm_GoToFirstFile=2050;Place cursor on first file in list
cm_GotoNextDrive=2051;Go one drive up (C->D)
cm_GotoPreviousDrive=2052;Go one drive down
cm_GotoNextSelected=2053;Go to next selected file
cm_GotoPrevSelected=2054;Go to previous selected file
cm_GotoDriveA=2061;Switch to drive A
cm_GotoDriveC=2063;Switch to drive C
cm_GotoDriveD=2064;Switch to drive D
cm_GotoDriveE=2065;Switch to drive E
cm_GotoDriveF=2066;(etc, define your own if)
cm_GotoDriveZ=2086;(you need more drives)

------------------------------- Eigene Ergänzungen zwischen "cm_GotoDriveF" und "cm_GotoDriveZ":
cm_GotoDriveG=2067; G
cm_GotoDriveh=2068; H
cm_GotoDrivei=2069; I
cm_GotoDrivej=2070; J
cm_GotoDrivek=2071; K
cm_GotoDrivel=2072; L - WinCmd.ini [Shortcuts] S+L=cm_GotoDriveL - Shift+L
cm_GotoDrivem=2073; M
cm_GotoDriven=2074; N
cm_GotoDriveo=2075; O
cm_GotoDrivep=2076; P
cm_GotoDriveq=2077; Q
cm_GotoDriver=2078; R
cm_GotoDrives=2079; S
cm_GotoDrivet=2080; T
cm_GotoDriveu=2081; U
cm_GotoDrivev=2082; V
cm_GotoDrivew=2083; W
cm_GotoDrivex=2084; X
cm_GotoDrivey=2085; Y
------------------------------- /Eigene Ergänzungen


[________________Help________________]=0
cm_HelpIndex=610;Help index
cm_Keyboard=620;Keyboard help
cm_Register=630;Registration info
cm_VisitHomepage=640;Visit http://www.ghisler.com/
cm_About=690;Help/About Total Commander

[________________Window________________]=0
cm_Exit=24340;Exit Total Commander
cm_Minimize=2000;Minimize Total Commander
cm_Maximize=2015;Maximize Total Commander
cm_Restore=2016;Restore normal size

[________________CommandLine________________]=0
cm_ClearCmdLine=2004;Clear command line
cm_NextCommand=2005;Next command line
cm_PrevCommand=2006;Previous command line
cm_AddPathToCmdline=2019;Copy path to command line

[________________Tools________________]=0
cm_MultiRenameFiles=2400;Rename multiple files
cm_SysInfo=506;System information
cm_OpenTransferManager=559;Background transfer manager
cm_SearchFor=501;Search for
cm_SearchStandalone=545;Search in separate process
cm_FileSync=2020;Synchronize directories
cm_Associate=507;Associate
cm_InternalAssociate=519;Define internal associations
cm_CompareFilesByContent=2022;File comparison
cm_IntCompareFilesByContent=2040;Use internal compare tool
cm_CommandBrowser=2924;Browse internal commands

[________________View________________]=0
cm_VisButtonbar=2901;Show/hide button bar
cm_VisDriveButtons=2902;Show/hide drive button bars
cm_VisTwoDriveButtons=2903;Show/hide two drive bars
cm_VisFlatDriveButtons=2904;Buttons: Flat/normal mode
cm_VisFlatInterface=2905;Interface: Flat/normal mode
cm_VisDriveCombo=2906;Show/hide drive combobox
cm_VisCurDir=2907;Show/hide current directory
cm_VisBreadCrumbs=2926;Show/hide Breadcrumb bar
cm_VisTabHeader=2908;Show/hide tab header (sorting)
cm_VisStatusbar=2909;Show/hide status bar
cm_VisCmdLine=2910;Show/hide Command line
cm_VisKeyButtons=2911;Show/hide function key buttons
cm_ShowHint=2914;Show file tip window
cm_ShowQuickSearch=2915;Show name search window
cm_SwitchLongNames=2010;Turn long names on and off
cm_RereadSource=540;Reread source
cm_ShowOnlySelected=2023;Hide files which aren't selected
cm_SwitchHidSys=2011;Turn hidden/system files on and off
cm_SwitchHid=3013;Turn hidden files on and off
cm_SwitchSys=3014;Turn system files on and off
cm_Switch83Names=2013;Turn 8.3 names lowercase on/off
cm_SwitchDirSort=2012;Turn directory sorting by name on/off
cm_DirBranch=2026;Show all files in current dir and all subdirs
cm_DirBranchSel=2046;Show selected files, and all in selected subdirs
cm_50Percent=909;Window separator at 50%
cm_100Percent=910;Window separator at 100%
cm_VisDirTabs=2916;Show/hide folder tabs
cm_VisXPThemeBackground=2923;Show/hide XP theme background
cm_SwitchOverlayIcons=2917;Switch icon overlays on/off
cm_VisHistHotButtons=2919;Show/hide dir history+hotlist
cm_SwitchWatchDirs=2921;Enable/disable WatchDirs auto-refresh temporarily
cm_SwitchIgnoreList=2922;Enable/disable ignore list file to not show file names
cm_SwitchX64Redirection=2925;64-bit Windows: Redirect 32-bit system32 dir off/on
cm_SeparateTreeOff=3200;Disable separate tree panel
cm_SeparateTree1=3201;One separate tree panel
cm_SeparateTree2=3202;Two separate tree panels
cm_SwitchSeparateTree=3203;Switch through tree panel options
cm_ToggleSeparateTree1=3204;One separate tree panel on/off
cm_ToggleSeparateTree2=3205;Two separate tree panels on/off
[________________User________________]=0
cm_UserMenu1=701;Start first menu item in Start menu
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
cm_UserMenu10=710;in totalcmd.inc!

[________________Tabs________________]=0
cm_OpenNewTab=3001;Open new tab
cm_OpenNewTabBg=3002;Open new tab in background
cm_OpenDirInNewTab=3003;Open dir under cursor in tab
cm_OpenDirInNewTabOther=3004;Open dir under cursor (other window)
cm_SwitchToNextTab=3005;Switch to next Tab (as Ctrl+Tab)
cm_SwitchToPreviousTab=3006;Switch to previous Tab (Ctrl+Shift+Tab)
cm_CloseCurrentTab=3007;Close tab
cm_CloseAllTabs=3008;Close all
cm_DirTabsShowMenu=3009;Show tab menu
cm_ToggleLockCurrentTab=3010;Turn on/off tab locking
cm_ToggleLockDcaCurrentTab=3012;Same but with dir changes allowed
cm_ExchangeWithTabs=535;Swap all Tabs
cm_GoToLockedDir=3011;Go to the base dir of locked tab
cm_SrcActivateTab1=5001;Activate first tab
cm_SrcActivateTab2=5002;Activate second tab
cm_SrcActivateTab3=5003;(Source window)
cm_SrcActivateTab4=5004;etc.
cm_SrcActivateTab5=5005;
cm_SrcActivateTab6=5006;
cm_SrcActivateTab7=5007;
cm_SrcActivateTab8=5008;
cm_SrcActivateTab9=5009;
cm_SrcActivateTab10=5010;(up to 99 items)
cm_TrgActivateTab1=5101;Activate first tab
cm_TrgActivateTab2=5102;Activate second tab
cm_TrgActivateTab3=5103;(Target window)
cm_TrgActivateTab4=5104;etc.
cm_TrgActivateTab5=5105;
cm_TrgActivateTab6=5106;
cm_TrgActivateTab7=5107;
cm_TrgActivateTab8=5108;
cm_TrgActivateTab9=5109;
cm_TrgActivateTab10=5110;
cm_LeftActivateTab1=5201;Activate first tab
cm_LeftActivateTab2=5202;Activate second tab
cm_LeftActivateTab3=5203;(Left window)
cm_LeftActivateTab4=5204;etc.
cm_LeftActivateTab5=5205;
cm_LeftActivateTab6=5206;
cm_LeftActivateTab7=5207;
cm_LeftActivateTab8=5208;
cm_LeftActivateTab9=5209;
cm_LeftActivateTab10=5210;
cm_RightActivateTab1=5301;Activate first tab
cm_RightActivateTab2=5302;Activate second tab
cm_RightActivateTab3=5303;(Right window)
cm_RightActivateTab4=5304;etc.
cm_RightActivateTab5=5305;
cm_RightActivateTab6=5306;
cm_RightActivateTab7=5307;
cm_RightActivateTab8=5308;
cm_RightActivateTab9=5309;
cm_RightActivateTab10=5310;

[_______________Sorting______________]=0
cm_SrcSortByCol1=6001; Sort by first column
cm_SrcSortByCol2=6002; Sort by second column
cm_SrcSortByCol3=6003; (source window)
cm_SrcSortByCol4=6004; etc.
cm_SrcSortByCol5=6005;
cm_SrcSortByCol6=6006;
cm_SrcSortByCol7=6007;
cm_SrcSortByCol8=6008;
cm_SrcSortByCol9=6009;
cm_SrcSortByCol10=6010;
cm_SrcSortByCol99=6099;

cm_TrgSortByCol1=6101; Sort by first column
cm_TrgSortByCol2=6102; Sort by second column
cm_TrgSortByCol3=6103; (target window)
cm_TrgSortByCol4=6104; etc.
cm_TrgSortByCol5=6105;
cm_TrgSortByCol6=6106;
cm_TrgSortByCol7=6107;
cm_TrgSortByCol8=6108;
cm_TrgSortByCol9=6109;
cm_TrgSortByCol10=6110;
cm_TrgSortByCol99=6199;

cm_LeftSortByCol1=6201; Sort by first column
cm_LeftSortByCol2=6202; Sort by second column
cm_LeftSortByCol3=6203; (left window)
cm_LeftSortByCol4=6204; etc.
cm_LeftSortByCol5=6205;
cm_LeftSortByCol6=6206;
cm_LeftSortByCol7=6207;
cm_LeftSortByCol8=6208;
cm_LeftSortByCol9=6209;
cm_LeftSortByCol10=6210;
cm_LeftSortByCol99=6299;

cm_RightSortByCol1=6301; Sort by first column
cm_RightSortByCol2=6302; Sort by second column
cm_RightSortByCol3=6303; (right window)
cm_RightSortByCol4=6304; etc.
cm_RightSortByCol5=6305;
cm_RightSortByCol6=6306;
cm_RightSortByCol7=6307;
cm_RightSortByCol8=6308;
cm_RightSortByCol9=6309;
cm_RightSortByCol10=6310;
cm_RightSortByCol99=6399;

[________Custom column views_________]=0
cm_SrcCustomView1=271; Source: Custom columns 1
cm_SrcCustomView2=272; (user defined columns)
cm_SrcCustomView3=273; etc.
cm_SrcCustomView4=274;
cm_SrcCustomView5=275;
cm_SrcCustomView6=276;
cm_SrcCustomView7=277;
cm_SrcCustomView8=278;
cm_SrcCustomView9=279; etc. until 299
cm_LeftCustomView1=71; Left: Custom columns 1
cm_LeftCustomView2=72; (user defined columns)
cm_LeftCustomView3=73; etc.
cm_LeftCustomView4=74;
cm_LeftCustomView5=75;
cm_LeftCustomView6=76;
cm_LeftCustomView7=77;
cm_LeftCustomView8=78;
cm_LeftCustomView9=79;
cm_RightCustomView1=171; Right: Custom columns 1
cm_RightCustomView2=172; (user defined columns)
cm_RightCustomView3=173; etc.
cm_RightCustomView4=174;
cm_RightCustomView5=175;
cm_RightCustomView6=176;
cm_RightCustomView7=177;
cm_RightCustomView8=178;
cm_RightCustomView9=179;
cm_SrcNextCustomView=5501; Source: Next custom view
cm_SrcPrevCustomView=5502; Source: Previous custom view
cm_TrgNextCustomView=5503; Target: Next custom view
cm_TrgPrevCustomView=5504; Target: Previous custom view
cm_LeftNextCustomView=5505; Left: Next custom view
cm_LeftPrevCustomView=5506; Left: Previous custom view
cm_RightNextCustomView=5507;Right: Next custom view
cm_RightPrevCustomView=5508;Right: Previous custom view
cm_LoadAllOnDemandFields=5512;Load on demand fields for all files
cm_LoadSelOnDemandFields=5513;Load on demand fields for selected files
cm_ContentStopLoadFields=5514;Stop loading on demand fields

[________Commands with parameters_________]=0
;These negative numbers are just used for translation and cannot be used instead of the commands
CD <directory>=-2;Switch to the given directory
OPENTABS <filename>=-3;Open tabs from saved .tab file
APPENDTABS <filename>=-4;Append tabs to existing tabs
FTPOPEN <conf. ftp server>=-5;Open stored ftp connection
SYNCOPEN <sync operation>=-6;Open stored sync operation
LOADSEARCH <stored search>=-7;Open stored search operation
OPENBAR <filename>=-8;Load button bar from file
MULTIRENAME <operation name>=-9;Open stored multi-rename operation
OPENCUSTOMVIEW <view name>=-10;Switch to custom columns view
SELECTFILES <*.ext *.ex2>=-11;Select files of specified types

Sheepdog wrote:
2004-09-07, 15:14 UTC
Für alle, die für die internen Befehle eine deutsche Beschreibung haben wollen,
hier einmal die Totalcmd.inc mit deutschen Kommentaren.

code... ( ACHTUNG, Stand 2004! )

sheepdog



- - -


 Weitere Infos:
History wrote:12.03.14 Added: New internal command OPENLANGUAGEFILE WCMD_xyz.LNG to open specific LNG/MNU file pair from "language" subdir.
Leave out parameter for internal language. Will not be added to .inc (32/64)
The command is:
OPENLANGUAGEFILE
or
OPENLANGUAGEFILE wcmd_xyz.lng
It will also set the mnu file with the same name. It can also be used to re-load a language file while editing it.
tuska wrote:
2018-06-13, 16:38 UTC
Die Befehle für die Sortierung findest Du im "CommandBrowser".

Einfach cm_CommandBrowser in der Kommandozeile von TC eingeben, dann ENTER drücken.
Im Feld "Filter" sort eingeben...

zB die nachfolgenden Befehle bewirken eine aufsteigende Sortierung:

cm_SrcByName 321 Quelle: Sortiere nach Namen
cm_SrcByExt 322 Quelle: Sortiere nach Erweiterung

Ich gehe davon aus, dass alles was nicht "Unsortiert" oder "Absteigend sortiert" ist, eine aufsteigende Sortierung bewirkt.

Kannst es ja mal ausprobieren:
Einfach den Befehl in die Kommandozeile eingeben und <ENTER> drücken.
ghisler(Author) wrote:
2018-06-14, 07:45 UTC
cm_SrcByName akzeptiert in der Kommandozeile, im Buttonbar und benutzerdefinierten Befehlen auch einen Parameter:

cm_SrcByName 1 aufsteigend sortieren
cm_SrcByName 2 absteigend sortieren
cm_SrcByName 3 nach Name, kehrt Richtung um

cm_SrcByName 4 zusätzlich nach Name sortieren, wenn schon nach einer anderen Spalte sortiert ist (kehrt Richtung um)
cm_SrcByName 5 wie 4, aber aufsteigend soriert
cm_SrcByName 5 wie 4, aber absteigend soriert

- - -

Um eigene 'Benutzerdefinierten Befehle' (em_Befehl, usercmd.ini) im Button zu verwenden,
oder um cm_Befehle angepasst zu verwenden, muss zuerst ein solcher User-Befehl angelegt werden, siehe:
http://www.ghisler.ch/wikide/index.php/Benutzerdefinierte_Befehle

- - -

"Send WM_USER+50 with wparam"
Infos und Beispiel >>> https://ghisler.ch/board/viewtopic.php?p=310263#p310263

History.txt 9b1 wrote:
08.06.16 Added: Send WM_USER+50 with wparam=1..29 -> returns window handle of control.
Controls are:
1=leftlist, 2=rightlist, 3=active list, 4=inactive list, 5=leftheader, 6=rightheader, 7=leftsize, 8=rightsize, 9=leftpath,
10=rightpath, 11=leftinfo, 12=rightinfo, 13=leftdrives, 14=rightdrives, 15=leftpanel, 16=rightpanel, 17=bottompanel,
18=lefttree, 19=righttree, 20=cmdline, 21=curdirpanel, 22=inplaceedit, 23=splitpanel, 24=leftdrivepanel, 25=rightdrivepanel,
26=lefttabs, 27=righttabs, 28=buttonbar, 29=buttonbarvertical (32/64)

History.txt 9b1 wrote:
08.06.16 Added: Send WM_USER+50 with wparam set to 1011/1012 to get index of first file in list (-1 if there are no files) (32/64)
08.06.16 Added: Send WM_USER+50 with wparam set to 1009/1010 to get index of first item (0 if there is no updir, 1 otherwise) (32/64)
08.06.16 Added: Send WM_USER+50 with wparam set to 1007/1008 to get index of current item (caret) (32/64)
08.06.16 Added: Send WM_USER+50 with wparam set to 1005/1006 to get total number of selected items (32/64)
08.06.16 Added: Send WM_USER+50 with wparam set to 1003/1004 to get total number of items (including those hidden by quick filter (32/64)
08.06.16 Added: Send WM_USER+50 with wparam set to 1001/1002 to get number of items in left/right list (32/64)
08.06.16 Added: Send WM_USER+50 with wparam set to 1000 to get active panel: 1=left, 2=right (32/64)

15.05.16 Added: The following commands now accept a numeric parameter in the button bar or start menu: (32/64)
CM_WAIT <time>=-12;Wait x milliseconds
cm_Select=2936;Select file under cursor, go to next
cm_UnSelect=2937;Remove selection of file, go to next
cm_Reverse=2938;Reverse selection of file, go to next
cm_GoToFirstEntry=2049;Place cursor on first folder or file
cm_GoToFirstFile=2050;Place cursor on first file in list
CM_SWITCHDRIVE
cm_Delete=908;Delete files
cm_LeftSwitchToThisCustomView=5510;For scripting, lparam=view
cm_RightSwitchToThisCustomView=5511;For scripting, lparam=view
cm_SearchForInCurdir=517;Search in directory under the cursor
cm_DirectoryHotlist=526;Directory popup menu
You can also send them via script, just put the numbers in lparam.
cm_GoToFirstEntry=2049;Place cursor on first folder or file: Place cursor on 5th item, folder OR file:
PostMessage,1075,2049,4

20.09.16 Added: The following internal commands now accept parameters 0 (toggle, default), 1 (true), and 2 (false), except in main menu :
CM_VERTICALPANELS,CM_*THUMBS,CM_*BYNAME,CM_*BYEXT,CM_*BYSIZE,CM_*BYDATETIME,CM_*NEGORDER (32/64)
(* stands for LEFT, RIGHT, and SRC, >> example: CM_*BYNAME = CM_LEFTBYNAME ++ CM_RIGHTBYNAME ++ CM_SRCBYNAME)

- - -
 
Last edited by Stefan2 on 2017-12-09, 19:45 UTC, edited 1 time in total.

User avatar
HolgerK
Power Member
Power Member
Posts: 4937
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Re: FAQs: cm_CommandBrowser

Post by *HolgerK » 2017-12-07, 13:06 UTC

Stefan2 wrote: wenn man in der TC-Kommandoszeile* 'cm_CommandBrowser' eintippt,

                    erscheint eine Liste aller TC-internen Befehle :shock:
...

Weitere Tipps? 
Das ist noch nicht so sonderlich sinnvoll ausser man macht anschliessend folgendes:
Tipp: Internen Befehl mit Doppelklick oder <Eingabe> auswählen(wird dann ins Clipboard übernommen) und per <Strg+V> in der Kommandozeile einfügen und ausführen.

Noch ein Tipp: Um sich Tipparbeit in der Kommandozeile (wie hiess noch mal der Befehl für den Commandbrowser?) zu sparen, kann man sich auch einen Alias wie "cmb" auf cm_CommandBrowser legen (Konfigurieren->Einstellungen...-> Diverses: (o) Alias ... )
Dann tippt man in der Kommandozeile nur noch cmb ein.

Gruss
Holger
Make our planet great again

Spliff Commander
Senior Member
Senior Member
Posts: 402
Joined: 2006-10-26, 11:16 UTC

Post by *Spliff Commander » 2017-12-07, 16:34 UTC

Ich bin Grundsätzlich, für jeden Tip dankbar, ob jemand anderer oder ich ihn dann brauche, kann man ja dann entscheiden.

Ich halte den " 'TC' -Tipp des Tages: " für eine sehr gute Idee.
Grüße vom Spliff Commander

Windows 10 Pro (x64) Version 1803 (Build 17134.191)

Total Commander 9.21a 64-Bit :)
Everything Version 1.4.1.895 (x64)

matixx
Power Member
Power Member
Posts: 836
Joined: 2003-03-21, 02:37 UTC
Location: ....
Contact:

Post by *matixx » 2017-12-09, 10:42 UTC

Ich finde die Idee auch super weil ich immer sehr interessiert daran bin wie Ihr euren TC nutzt. Jeder hat da ja seinen eigenen Weg gefunden.
Klar kann das Ganze auch ins Wiki kopiert werden.

Gruss

Spliff Commander
Senior Member
Senior Member
Posts: 402
Joined: 2006-10-26, 11:16 UTC

Post by *Spliff Commander » 2017-12-09, 12:22 UTC

matixx wrote:Ich finde die Idee auch super weil ich immer sehr interessiert daran bin wie Ihr euren TC nutzt. Jeder hat da ja seinen eigenen Weg gefunden.
Dann kann ich dir von Stefan die Seite hier empfehlen. http://www.ghisler.ch/board/viewtopic.php?t=40954&highlight=einstellungen&sid=06cf70995b13d8b0695b9aaebf7a6b2b

Ich bin der Meinung da gebe es noch eine Seite von ihm bin mir aber nicht sicher.

Ich selber habe in mein Browser ein TC reiter und da alle Tips und Tricks u a von Stefan2 und Tuska hinzugefügt.

Hier noch ein paar nützliche Links wie ich finde.

http://www.ghisler.ch/wikide/index.php/Benutzerdefinierte_Befehle

http://www.ghisler.ch/wiki/index.php/List_of_64-bit_plugins_and_addons

http://www.ghisler.ch/board/viewtopic.php?p=328012#328012

...leere Verzeichnisse anders farbig anzuzeigen?

http://ghisler.ch/board/viewtopic.php?p=223652#223652

http://ghisler.ch/board/viewtopic.php?p=223723#223723

Ich hoffe da ist was nützliches bei.
Grüße vom Spliff Commander

Windows 10 Pro (x64) Version 1803 (Build 17134.191)

Total Commander 9.21a 64-Bit :)
Everything Version 1.4.1.895 (x64)

Spliff Commander
Senior Member
Senior Member
Posts: 402
Joined: 2006-10-26, 11:16 UTC

Post by *Spliff Commander » 2018-05-29, 16:43 UTC

"Alter" Schwede was für eine Arbeit, ich weiß nicht ob ich alles jemals brauchen werde, aber ich sag schon mal vorab, vielen Dank für deine Arbeit und mühe Stefan2 Bin sehr beeindruckt.Ich hoffe das es vielen Usern hilft :)
Grüße vom Spliff Commander

Windows 10 Pro (x64) Version 1803 (Build 17134.191)

Total Commander 9.21a 64-Bit :)
Everything Version 1.4.1.895 (x64)

User avatar
Pagefox
Senior Member
Senior Member
Posts: 255
Joined: 2003-08-12, 22:05 UTC
Location: Düren

Post by *Pagefox » 2018-05-29, 17:25 UTC

Schließe mich meinem Vorredner gerne an.
Respekt & Vielen Dank
Gruss
Pagefox
TC 9.12 64-Bit | Win7 64-Bit

matixx
Power Member
Power Member
Posts: 836
Joined: 2003-03-21, 02:37 UTC
Location: ....
Contact:

Post by *matixx » 2018-05-30, 12:42 UTC

Absolute Klasse!

Ich bin sehr sehr dafür für jeden Tip einen eigenen Thread zu machen dessen Namen mit "TC Tip des Tages - " beginnt. So bvleibt die Übersicht erhalten. In den Untiefen eines Threads findet man doch nix mehr.

User avatar
Stefan2
Power Member
Power Member
Posts: 2083
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Post by *Stefan2 » 2018-05-30, 19:26 UTC

Hast recht, ich splitte diesen Thread in Einzelne.




Danke an Alle die bereits mitgemacht haben und ebenfalls 'danke schön' für das Feedback.







 

Post Reply