rename single filename to UPPERCASE?
Moderators: Hacker, petermad, Stefan2, white
- brontosaurusrex
- Junior Member
- Posts: 18
- Joined: 2021-01-01, 17:56 UTC
rename single filename to UPPERCASE?
When I have a single file selected/in typing rename mode, is there a shortkey to UPPERCASE that text selection? (I'am aware that multirename has case change option)
Re: rename single filename to UPPERCASE?
There isn't a build-in shortkey for that.
But you can make your own external command to rename a single file to upppercase.
1. First open the Mutli-Rename Tool and set it up to rename to upperscase
2. Press F2 and choose Save settings and name the setting: Uppercase
3. Open your usercmd.ini files (located in the same place as your wincmd.ini file - if you don't have a usercmd.ini, just make it in notepad).
4. Put this code in the usercmd.ini file:
5. you can now assign the command em_Uppercase to a keyboard shortcut (Ctl+U for example) or use it in a button in the button bar.
Notice - the em_Uppercase command will rename all selected files, not just the one under the cursor.
If you assign em_Uppercase to a keyboard shortcut, that shortcut will not work if you have pressed Shift+F6 on the file.
But you can make your own external command to rename a single file to upppercase.
1. First open the Mutli-Rename Tool and set it up to rename to upperscase
2. Press F2 and choose Save settings and name the setting: Uppercase
3. Open your usercmd.ini files (located in the same place as your wincmd.ini file - if you don't have a usercmd.ini, just make it in notepad).
4. Put this code in the usercmd.ini file:
Code: Select all
[em_Uppercase]
cmd=MULTIRENAME ==Uppercase
Notice - the em_Uppercase command will rename all selected files, not just the one under the cursor.
If you assign em_Uppercase to a keyboard shortcut, that shortcut will not work if you have pressed Shift+F6 on the file.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: rename single filename to UPPERCASE?
I think that's not what the OP asked for. I think he asked for a keyboard shortcut to convert a selected part of a filename to uppercase when renaming a file.
Re: rename single filename to UPPERCASE?
No.
The alternative:petermad wrote: 2024-05-20, 09:28 UTCBut you can make your own external command to rename a single file to upppercase.
Code: Select all
TOTALCMD#BAR#DATA
%comspec% /q/c for %f in
("%S") do for /f "tokens=2 delims=\" %%n in ('tree \%%f\^|find ":\"') do ren %%f "%%n"
wciconex.dll,199
Selected names to UPPERCASE
1
Overquoting is evil! 👎
Re: rename single filename to UPPERCASE?
I think is about a similar feature in MS Word where Shift+F3 cycle case for selected text. Everything 1.5 use it also.
- brontosaurusrex
- Junior Member
- Posts: 18
- Joined: 2021-01-01, 17:56 UTC
Re: rename single filename to UPPERCASE?
@massor, Yeah that was the idea.
@petermad, Thanks, multirename to uppercase with single click is just great.
@Fla$her, Thanks.
btw, chatgpt also 'found' a more general solution/workaround, which is to uppercase stuff in clipboard
@petermad, Thanks, multirename to uppercase with single click is just great.
@Fla$her, Thanks.
btw, chatgpt also 'found' a more general solution/workaround, which is to uppercase stuff in clipboard
Code: Select all
powershell -command "Set-Clipboard -Value ((Get-Clipboard).ToUpper())"