When cm_DirBranch mode is turned on, buttons that use %p%n do not work as correct paths aren't being supplied to an external command.
It is possible to pass the selected file paths as usual?
[Fixed] cm_DirBranch screws-up external commands
Moderators: Hacker, petermad, Stefan2, white
[Fixed] cm_DirBranch screws-up external commands
Last edited by arko on 2023-01-11, 15:10 UTC, edited 1 time in total.
Re: cm_DirBranch screws-up external commands
Why do you need paths with short DOS (8.3) names? Use the upper case of the parameters. DOS (8.3) is not used for non-console programs.
Overquoting is evil! 👎
Re: cm_DirBranch screws-up external commands
Try %P%N instead of %p%n - %p%n gives you the short 8.3 file name as pointed out by Fla$her - and on newer computers support for short file names are often not enabled for drives other than C: by default
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: cm_DirBranch screws-up external commands
Indeed, thanks!petermad wrote: 2023-01-11, 13:01 UTC Try %P%N instead of %p%n - %p%n gives you the short 8.3 file name as pointed out by Fla$her - and on newer computers support for short file names are often not enabled for drives other than C: by default
Re: [Fixed] cm_DirBranch screws-up external commands
Moderator message from: white » 2023-01-11, 18:13 UTC
Moved to English forum.