[9.51] Character ^ in filename is not correctly recognize by TC command line parameters %N

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

User avatar
elgonzo
Power Member
Power Member
Posts: 866
Joined: 2013-09-04, 14:07 UTC

Re: [9.51] Character ^ in filename is not correctly recognize by TC command line parameters %N

Post by *elgonzo »

"%P%O.%E" is clever!

It is worth keeping in mind that if used on a file/dir name without an exension (for instance, "README" without ".TXT"), it adds a trailing dot that normally wouldn't be there. Whether this would actually be a problem depends entirely on the executed script/program, though (i guess many - if not most - programs would have no issue with a path with a trailing dot)
Begrudgingly back to Windows... now 11... sigh... but i have no nerve for Linux desktop anymore...
andry81
Junior Member
Junior Member
Posts: 97
Joined: 2018-11-22, 19:17 UTC

Re: [9.51] Character ^ in filename is not correctly recognize by TC command line parameters %N

Post by *andry81 »

Another trick is to use like this: "%P\%N", where the double back slash usually is treated as a single character.
Additional plus is that when the exe file is called, then the last quote character won't be treated as escaped (when %N is empty), for example, when the [..] item is selected.
Post Reply