Problem with FixNames plugin

Apr 2, 2011
North Carolina, USA
I have the following files:

==== begin paste
==== end paste

When I do fixnames /s *.* it doesn't fix any of these. What can I do please to fix &, ( and ), to _'s and =?? to their correct ascii charachters please?
Aug 2, 2011
Berlin, Germany

just for interest - where do you get such horrible filenames from?


Charles Dye

Super Moderator
Staff member
May 20, 2008
Albuquerque, NM
When I do fixnames /s *.* it doesn't fix any of these. What can I do please to fix &, ( and ), to _'s and =?? to their correct ascii charachters please?

It's not intended to; you can manipulate all of those characters easily in TCC. FixNames just replaces characters which you can't handle easily: percent signs, grave accents, carets....

I could add an option to decode =XX easily enough, but it would have to be an option and default to off. Sometimes a cigar is only a cigar....
Apr 2, 2011
North Carolina, USA
Charles adding that option to decode the =?? would be a significant help. Thank you very much.....

Charles Dye

Super Moderator
Staff member
May 20, 2008
Albuquerque, NM
Okay, I've put up a new build here: FixNames plugin

This one decodes =XX pairs when you specify /E. I've also added Windows-1252 support; if the decoded character is in the range 0x80 to 0x9f, you'll get a printable character instead of a C1 control char.
Apr 2, 2011
North Carolina, USA

prompt> fixnames /E /N /s *.*

would adding to the Grand Total line something like:

"n files in x folders would be renamed."

then a similar line in each folder be possible please?
Aug 8, 2010
Would it be too much trouble to have a switch to override "When a filename contains a percent sign followed by two hexadecimal digits, the trio is treated as an encoded character"? It would introduce an either/or condition for when you want %20 to become a space too, but sometimes brute force is a good thing.

I got your homage to Herr Freud. Nice.
Aug 8, 2010
Sorry for the confusion. My interest is in a switch to not expand any %xx at all - perhaps treat the percent sign the same way as when it's followed by spaces.

PS and two spaces [% ].txt
PS and two spaces [_ ].txt

The "%20, either/or" connection in my last entry is that if FIXNAMES does "not expand any %xx at all" and there are legitimate %xx combinations (0x80 to 0x9f) and "rogue" combinations (>0x9F), it won't be possible to BOTH convert the legitimate ones AND just change the percent sign for the rogue ones. However, for the sake of the intention of the plugin, that would be preferred over creating characters like õ as happened once to me. More refinement than that would be nice, but not necessary.
Similar threads
Thread starter Title Forum Replies Date
C FIXNAMES problem Plugins 9
C FixNames problem? Plugins 22
jfalch Problem with 4utils64 in v21 Plugins 5
M Annoying "Event64" Problem... Plugins 15
M (Stupid?) Problem with 64-bit 4Utils plugin... Plugins 3
S How to? 4autotray problem Plugins 6
Frank Problem with MkVer Plugins 7
M A problem with the SafeChars Plugin... Plugins 30
Timothy Byrd Problem with DELAY in RB_Utils in v9 Plugins 1
C FIXNames Plugins 29
C C. Dye's fixnames Plugins 4
Joe Caverly 64-bit Plugin development using PureBasic Plugins 15
R New Plugin Plugins 0
Alpengreis elevated plugin questions Plugins 3
fpefpe utf-8 support in sdk/plugin api Plugins 4
S How to? Can @DU function in 4Utils64 plugin somehow cater for dirs with spaces? Plugins 3
vefatica Plugin access to arrays? Plugins 4
vefatica How big is a plugin's parameter buffer? Plugins 5
C @knownpath plugin Plugins 0
Charles Dye Updated OSD plugin Plugins 0
Joe Caverly C# plugin framework for JPSoft's TCC Plugins 0
dcantor Help for newest version of TEXTUTILS plugin Plugins 10
dcantor UISTUFF plugin missing help topic Plugins 12
M How to? Use SafeChars plugin... Plugins 2
dcantor Error in SAFECHARS plugin v 1.9.0 Plugins 2
dcantor Request for documentation for ISO8601 plugin Plugins 4
vefatica Possible with a plugin? Plugins 6
dcantor Inconsistency between textutils plugin and wrap utility Plugins 2
H Latest ISO8601 plugin? Plugins 1
Charles Dye New plugin: QKeys Plugins 34
S Plugin to quickly locate all files hard linked together Plugins 5
S Documentation Plugin everything.dll Plugins 5
newbie How to? Multi-plugin installation errors, Re: FedUtils8 Plugins 7
vefatica Plugin -> thread -> Command() -> Ctrl-C? Plugins 20
Charles Dye A weirdoid plugin question Plugins 6
M SafeChars plugin misbehaving... Plugins 3
M A weird error re a plugin... Plugins 0
vefatica Plugin dilemma Plugins 2
fpefpe Documentation Plugin API/SDK Plugins 3
C Looking for Vince's old 4UTILS plugin for TCMD v8 Plugins 1
S DESKTOP plugin - anyone ? Plugins 0
C How to? a plugin to sort Outlook Express "rules" Plugins 0
M ISO Plugin: Yes, it's wonderful, but it could be yet more wonderful... Plugins 7
M The ISO plugin is wonderful, but it lacks a little something... Plugins 22
Charles Dye Beta plugin: HidePasswords Plugins 3
M ISO8601 Plugin not "reporting" errors to TCC... Plugins 4
Frank 4console plugin Plugins 4
S WAD ISO8601 Plugin Plugins 15
Joe Caverly Plugin and 64-bit TCC Plugins 3
dcantor Suggestion and request for DBF plugin Plugins 6

Similar threads