"Extensions" section in wincmd.ini, need a bit exp

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
KevinMo
Member
Member
Posts: 104
Joined: 2005-03-27, 01:37 UTC

"Extensions" section in wincmd.ini, need a bit exp

Post by *KevinMo »

For example, I associates *.wmv to mplayer.exe, and this is how it shows in "extensions" section of wincmd.ini:

Code: Select all

wmv=%COMMANDER_PATH%\..\MPlayer\mplayer.exe ^.wmv
I'm wondering what's the trailing ^.wmv means, since it still works after changed to something else.
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

2KevinMo
This is an association for the (by default) Alt-F3 hotkey.
I switched to Linux, bye and thanks for all the fish!
KevinMo
Member
Member
Posts: 104
Joined: 2005-03-27, 01:37 UTC

Post by *KevinMo »

But even if I delete ^.wmv, Alt+F3 still works. Does it has some potential usage? :P
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

It's just an old syntax used under Windows 3 for standard associations, so I kept it for TC too...
Author of Total Commander
https://www.ghisler.com
User avatar
deus-ex
Power Member
Power Member
Posts: 969
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

ghisler(Author) wrote:It's just an old syntax used under Windows 3 for standard associations, so I kept it for TC too...
I'd like to suggest a change for the syntax logic by allowing multiple extensions for one entry, e.g.:

Code: Select all

<path>\xmplay.exe ^.mod, ^.xm, ^.s3m, etc.
Regards,
deus-ex
KevinMo
Member
Member
Posts: 104
Joined: 2005-03-27, 01:37 UTC

Post by *KevinMo »

Thanks for the explanation, Mr. Ghisler
Post Reply