Firstly I wish happy new year to all friends
For button parameters, is there any way (except putting backslash at the end) to prevent the double quotation which is automatically added to the path names having spaces?
Regards
Double quotation of paths in button bar
Moderators: white, Hacker, petermad, Stefan2
- sqa_wizard
- Power Member
- Posts: 3869
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
Thank you sqa_wizard for your suggestion.
But I think %O.%E may fail for the file names having no extensions.
I know the followings by trial/error and the discussions in the forum:
1) "%P%S1" causes to be sent paths without quotation
2) %P\ causes to be sent path without quotation but it adds an extra backslash at the end (I didn't like it even if Windows OS doesn't matter it)
I was looking for a regular way if exists.
.
But I think %O.%E may fail for the file names having no extensions.
I know the followings by trial/error and the discussions in the forum:
1) "%P%S1" causes to be sent paths without quotation
2) %P\ causes to be sent path without quotation but it adds an extra backslash at the end (I didn't like it even if Windows OS doesn't matter it)
I was looking for a regular way if exists.
.
%P%N is adding quote only when necessary to have valid file into a single parameter. It is the same behavior for %P%S1.HBB wrote:Thank you sqa_wizard for your suggestion.
But I think %O.%E may fail for the file names having no extensions.
I know the followings by trial/error and the discussions in the forum:
1) "%P%S1" causes to be sent paths without quotation
2) %P\ causes to be sent path without quotation but it adds an extra backslash at the end (I didn't like it even if Windows OS doesn't matter it)
I was looking for a regular way if exists.
.
You should not quote around %parameter as it may fail.
I do not know any option to explicitly force TC to not quote
2HBB
Have you tried it - it works for the implementations where I have used it, so far.But I think %O.%E may fail for the file names having no extensions.
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
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