"*." in [Associations]

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
KozakMak
Power Member
Power Member
Posts: 502
Joined: 2021-05-24, 12:39 UTC
Location: UA

"*." in [Associations]

Post by *KozakMak »

Code: Select all

[Associations]
Filter2=*.dll; *.
Filter2_open=""%commander_path%\TOTALCMD64.EXE" /S=L "%1""
*.dll file opens normally, but files without extension - error "file not found"

https://ibb.co/Z2J9ZgQ
OS: Win10 | TC: latest x64
Fla$her
Power Member
Power Member
Posts: 3015
Joined: 2020-01-18, 04:03 UTC

Re: "*." in [Associations]

Post by *Fla$her »

Code: Select all

[Associations]
Filter1=>DllOrNoExt
Filter1_open=""%COMMANDER_EXE%" /S=L "%1""

[Searches]
DllOrNoExt_SearchFor=^[^.]+$|.+\.dll$
DllOrNoExt_SearchFlags=0|002002001020|||||||||0000|||
Overquoting is evil! 👎
KozakMak
Power Member
Power Member
Posts: 502
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: "*." in [Associations]

Post by *KozakMak »

dll - ok
*. - show this windows: https://ibb.co/18N9yy3
OS: Win10 | TC: latest x64
Fla$her
Power Member
Power Member
Posts: 3015
Joined: 2020-01-18, 04:03 UTC

Re: "*." in [Associations]

Post by *Fla$her »

After ini editing, you need to re-read the internal associations.

Yeah, for some reason it doesn't work for me either. The icon changes, but the command is not executed. It looks like a TC bug.

But this is how it works:

Code: Select all

[Associations]
Filter2=*.dll;*.
Filter2_open=""%COMMANDER_PATH%\Utils\TCFS2\TCFS2.exe" /ef tcm(903,1)"
Overquoting is evil! 👎
User avatar
white
Power Member
Power Member
Posts: 5986
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: "*." in [Associations]

Post by *white »

KozakMak wrote: 2022-11-01, 06:11 UTC *.dll file opens normally, but files without extension - error "file not found"
Lister cannot handle a trailing dot, see my response in the bug thread by Fla$her: viewtopic.php?p=423606#p423606


Fla$her wrote: 2022-11-01, 06:46 UTC DllOrNoExt_SearchFor=^[^.]+$|.+\.dll$
Try regular expression \.$ (ends with dot). That does work. The icon doesn't change though.
Fla$her
Power Member
Power Member
Posts: 3015
Joined: 2020-01-18, 04:03 UTC

Re: "*." in [Associations]

Post by *Fla$her »

white wrote: 2022-11-01, 10:46 UTCTry regular expression \.$ (end with dot). That does work. The icon doesn't change though.
Thanks, but we'll do without half-solutions for now. Better wait for a fix.
Overquoting is evil! 👎
Post Reply