dsview.wlx and DAT files

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

dsview.wlx and DAT files

Post by *Sheepdog »

everytime I press F3 on a *.dat file the DSView opens and tells me that he isn't able to display this file (what isn't surprising as it is no Multimedia file).

But how can I prevent the DSview.wlx to claim to open DAT-files? My config line in wincmd.ini is

Code: Select all

7=%Commander_path%\Plugin\LS\DSView.wlx
7_detect="MULTIMEDIA | EXT="AVI" | EXT="MP3" | EXT="WAV" | EXT="WMA" | EXT="ASF" | EXT="OGG" | EXT="MID" | EXT="KAR" | EXT="PLS" | EXT="MPL" | EXT="M3U" | EXT="LAP""
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Do NOT "OR" Multimedia with the other options -since Multimedia is always true, the above string will always be true too!

So use the following isntead:

7_detect="MULTIMEDIA & (EXT="AVI" | EXT="MP3" | EXT="WAV" | EXT="WMA" | EXT="ASF" | EXT="OGG" | EXT="MID" | EXT="KAR" | EXT="PLS" | EXT="MPL" | EXT="M3U" | EXT="LAP")"
Author of Total Commander
https://www.ghisler.com
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

Thanks, it works fine now.

BTW I did not configure it manually. So it is either a problem of dsview config or of TCPlugman.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
Post Reply