[Fixed] cm_DirBranch screws-up external commands

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
arko
Junior Member
Junior Member
Posts: 85
Joined: 2020-04-05, 06:41 UTC

[Fixed] cm_DirBranch screws-up external commands

Post by *arko »

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?
Last edited by arko on 2023-01-11, 15:10 UTC, edited 1 time in total.
Fla$her
Power Member
Power Member
Posts: 2297
Joined: 2020-01-18, 04:03 UTC

Re: cm_DirBranch screws-up external commands

Post by *Fla$her »

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

Re: cm_DirBranch screws-up external commands

Post by *petermad »

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.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
arko
Junior Member
Junior Member
Posts: 85
Joined: 2020-04-05, 06:41 UTC

Re: cm_DirBranch screws-up external commands

Post by *arko »

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

Re: [Fixed] cm_DirBranch screws-up external commands

Post by *white »

Moderator message from: white » 2023-01-11, 18:13 UTC

Moved to English forum.
Post Reply