rename single filename to UPPERCASE?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
brontosaurusrex
Junior Member
Junior Member
Posts: 18
Joined: 2021-01-01, 17:56 UTC

rename single filename to UPPERCASE?

Post by *brontosaurusrex »

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)
User avatar
petermad
Power Member
Power Member
Posts: 14895
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: rename single filename to UPPERCASE?

Post by *petermad »

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:

Code: Select all

[em_Uppercase]
cmd=MULTIRENAME ==Uppercase
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.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
white
Power Member
Power Member
Posts: 4656
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: rename single filename to UPPERCASE?

Post by *white »

petermad wrote: 2024-05-20, 09:28 UTC There isn't a build-in shortkey for that.
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.
Fla$her
Power Member
Power Member
Posts: 2381
Joined: 2020-01-18, 04:03 UTC

Re: rename single filename to UPPERCASE?

Post by *Fla$her »

brontosaurusrex wrote: 2024-05-20, 08:01 UTC is there a shortkey to UPPERCASE that text selection?
No.
petermad wrote: 2024-05-20, 09:28 UTCBut you can make your own external command to rename a single file to upppercase.
The alternative:

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! 👎
User avatar
white
Power Member
Power Member
Posts: 4656
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: rename single filename to UPPERCASE?

Post by *white »

Moderator message from: white » 2024-05-20, 16:49 UTC

Moved 6 off-topic posts starting here to off-topic thread.
massor
Junior Member
Junior Member
Posts: 25
Joined: 2022-05-01, 18:30 UTC

Re: rename single filename to UPPERCASE?

Post by *massor »

I think is about a similar feature in MS Word where Shift+F3 cycle case for selected text. Everything 1.5 use it also.
User avatar
brontosaurusrex
Junior Member
Junior Member
Posts: 18
Joined: 2021-01-01, 17:56 UTC

Re: rename single filename to UPPERCASE?

Post by *brontosaurusrex »

@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

Code: Select all

powershell -command "Set-Clipboard -Value ((Get-Clipboard).ToUpper())"
Post Reply