Select files with same name on other panel

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Galizza
Senior Member
Senior Member
Posts: 210
Joined: 2018-09-07, 05:21 UTC

Select files with same name on other panel

Post by *Galizza »

Hi, i would like to know if it is possible to select all files with same name but with any extension on other panel

Searching i found this but it is for same name+extension, not only name any solution will be good even using autohotkey and only 1 user defined extension selected on target, thank :!:
User avatar
nsp
Power Member
Power Member
Posts: 1948
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: Select files with same name on other panel

Post by *nsp »

If you use SELECTFILES command with T flag (target panel) you can do it this way:

Code: Select all

TOTALCMD#BAR#DATA
SELECTFILEST
"%S:~-0,255.*"
wcmicons.dll,39
Select all files with same base names in target panel


-1
just cut and paste to toolbar and test
-- edited --
If you just want to focus in single name, just use "%O.*" as parameter
User avatar
Galizza
Senior Member
Senior Member
Posts: 210
Joined: 2018-09-07, 05:21 UTC

Re: Select files with same name on other panel

Post by *Galizza »

You are a genius :!:
User avatar
petermad
Power Member
Power Member
Posts: 16116
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Select files with same name on other panel

Post by *petermad »

Galizza wrote: 2022-04-17, 07:01 UTC You are a genius :!:
Sure: https://www.ghisler.ch/board/viewtopic.php?p=405872#p405872 :wink:
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply