Page 1 of 1

How to set file associations to open files with double extension .fb2.zip?

Posted: 06 Sep 2023 17:51
by Tau Svetvechnogo
Friends! Can anyone give a hint how - how to set file associations to open files with double extension .fb2.zip?

The thing is that if you specify such an extension in the file associations, still opens the archiver, but not the desired program (Alreader). Of course, you can give another extension, for example .fb2z or .fbz, but then the android reader does not see this file. What can be done to solve it?

Re: How to set file associations to open files with double extension .fb2.zip?

Posted: 06 Sep 2023 18:54
by highend
If in doubt a script that decides if that is really the double extension (or not) and opens <x> or <y>...

zip>::load "Extract zip derivates.xys";

and the script content could be:

Code: Select all

if (regexmatches(<curitem>, "\.fb2\.zip$")) {
        run lax("<some program for .fb2.zip>" "<curitem>");
    } else {
        run lax("<some program only for .zip>" "<curitem>");
    }