hi,
during the working day, I often change extension of same file from xlam(or xlsm) to zip, and vice versa.
I added command a in user (Start) menu cm_RenameOnly, how I can add a parameter for new (default) file name or extension?
[user]
menu1=CustomRename
cmd1=cm_RenameOnly
param1=... new ext ....
maybe cm_RenameOnly is wrong command ?
thnax
cm_RenameOnly - rename with predefined file name or extension
Moderators: Hacker, petermad, Stefan2, white
cm_RenameOnly - rename with predefined file name or extension
1. by computer
2. install TC
3. install OS
2. install TC
3. install OS
Re: cm_RenameOnly - rename with predefined file name or extension
- open MRT (Multi rename tool) CTRL+M
- Configure the MRT as you want,
- press F2 and save e.g. as 'YourSavedSettingsNameHere'
- Next you can just [Close] the MRT-tool.
On next launch of the MRT, just got to F2 again and load your saved setting.
To load such saved setting from a button, use internal command 'MULTIRENAME'
Example Button:
Command: MULTIRENAME YourSavedSettingsNameHere
Parameters:
Icon: WCMICONS.DLL
Tooltip: Load MRT with my saved setting
NEW: load & fire >>> HISTORY.TXT >>> 12.04.22 Release Total Commander 10.50 beta 1
Command: MULTIRENAME YourSavedSettingsNameHere (with a space will "just" launch the MRT with your settings)
Command: MULTIRENAME=YourSavedSettingsNameHere (starts renaming immediately with given saved settings and keeps the dialog open)
Command: MULTIRENAME==YourSavedSettingsNameHere (with two equal signs > starts renaming immediately and closes the dialog if successful)
More there >>> https://ghisler.ch/board/viewtopic.php?p=347067#p347067
- -
Also you can use TC-parameter "%F" and a scripting language of your OS to loop over the %F-temp file and rename the selected files.
- Configure the MRT as you want,
- press F2 and save e.g. as 'YourSavedSettingsNameHere'
- Next you can just [Close] the MRT-tool.
On next launch of the MRT, just got to F2 again and load your saved setting.
To load such saved setting from a button, use internal command 'MULTIRENAME'
Example Button:
Command: MULTIRENAME YourSavedSettingsNameHere
Parameters:
Icon: WCMICONS.DLL
Tooltip: Load MRT with my saved setting
NEW: load & fire >>> HISTORY.TXT >>> 12.04.22 Release Total Commander 10.50 beta 1
Command: MULTIRENAME YourSavedSettingsNameHere (with a space will "just" launch the MRT with your settings)
Command: MULTIRENAME=YourSavedSettingsNameHere (starts renaming immediately with given saved settings and keeps the dialog open)
Command: MULTIRENAME==YourSavedSettingsNameHere (with two equal signs > starts renaming immediately and closes the dialog if successful)
More there >>> https://ghisler.ch/board/viewtopic.php?p=347067#p347067
- -
Also you can use TC-parameter "%F" and a scripting language of your OS to loop over the %F-temp file and rename the selected files.
Re: cm_RenameOnly - rename with predefined file name or extension
Yes, try cm_RenMov. (Search the Help for cm_RenMov to find more info.)
For example:
Code: Select all
[user]
menu1=Rename to .zip
cmd1=cm_RenMov
param1=/GT="*.zip"
Re: cm_RenameOnly - rename with predefined file name or extension
wow!
thanks guys!
both solutions are excellent!
thanks white and Stefan2 !!!
thanks guys!
both solutions are excellent!
thanks white and Stefan2 !!!
1. by computer
2. install TC
3. install OS
2. install TC
3. install OS