Bug of FlashView plugin (view swf file)

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
mingyan
Junior Member
Junior Member
Posts: 7
Joined: 2003-10-01, 14:33 UTC

Bug of FlashView plugin (view swf file)

Post by *mingyan »

if I set the following command in wincmd.ini :

detect="ext="SWF" & (([0]="F" & [1]="W" & [2]="S")|[0]="C" & [1]="W" & [2]="S"))"

TC will crush when viewing "0 bytes" file or "readonly" file ( system file or CDRom file ).

But It's Ok when I change the command in wincmd.ini :

detect="ext="SWF""

I dont't know if the problem is causing from testing file header "FWS" or "CWS".

Anyone has the same problem as me ???
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The problem is that there is one closing brace too much at the end. Try this:

detect="ext="SWF" & (([0]="F" & [1]="W" & [2]="S")|([0]="C" & [1]="W" & [2]="S"))"
Author of Total Commander
https://www.ghisler.com
mingyan
Junior Member
Junior Member
Posts: 7
Joined: 2003-10-01, 14:33 UTC

Post by *mingyan »

Ya!

Right, I've retry the plugin , it generated correct command.

Thanks You .... :D
Post Reply