I got drive G: and sometime Y: for virtual drive.... So I added cm_GotoDriveG as well as cm_GotoDriveY in "totalcmd.inc" file. I have to remind myself everytime TC update not overwritting it by the default one... or I will have to add the commands again.
can I put it to other path and call it when TC starts like usercmd.ini?
Can I define "totalcmd.inc" to other path
Moderators: Hacker, petermad, Stefan2, white
Can I define "totalcmd.inc" to other path
Last edited by dindog on 2015-09-06, 02:37 UTC, edited 1 time in total.
You can add these commands into your custom main menu file, and you can add them as numbers (2067 for cm_GotoDriveG) and not strings so there won't be any need in patching totalcmd.inc. Also you can use e.g. TCFS2 to pass these commands as numbers.
Also you can simply add your commands to begin or end of totalcmd.inc (I've checked, it works, but command browser shows them in wrong groups). So it won't be hard to patch file even with e.g. batch.
Also you can simply add your commands to begin or end of totalcmd.inc (I've checked, it works, but command browser shows them in wrong groups). So it won't be hard to patch file even with e.g. batch.
Thanks. Just out of curious, why TC left some gotodrive command undefined at the beginning?MVV wrote:You can add these commands into your custom main menu file, and you can add them as numbers (2067 for cm_GotoDriveG) and not strings so there won't be any need in patching totalcmd.inc. Also you can use e.g. TCFS2 to pass these commands as numbers.
Also you can simply add your commands to begin or end of totalcmd.inc (I've checked, it works, but command browser shows them in wrong groups). So it won't be hard to patch file even with e.g. batch.
PS. there are INC files in the Language folder, but TC seem ignore commnads defined there....
Anyway, we got much large volume of harddrive now, and usb sticks, memory cards, removable harddrive... should we consider define all command from a to z by default?
I think in order to save space because these commands are not needed for everyone (there are some similar groups of commands that have defined only first N commands, e.g. cm_UserMenuN, cm_SrcActivateTabN, cm_SrcSortByColN etc.).Just out of curious, why TC left some gotodrive command undefined at the beginning?
These are only for translation but not for defining new commands.there are INC files in the Language folder, but TC seem ignore commnads defined there....