There are plenty of files that have double filetypes- besides being a database file, installer, disk image or document, they are also just archives in formats openable by the current 7zip plugin.
Yet there is no way to open them as such in DO, similarly to fe. zip files.
Maybe a Go ASARCHIVE command could be supported, that attempts to treat a file as archive, open it with an archive plugin and display in lister?
If Opus recognises them as archives by their file extensions then the "go" command will enter them (even if double-clicks on them are assigned to do something else).
If the extensions aren't recognised then it's difficult to make that work with the way things are designed, and since that's quite an esoteric thing we've decided to leave it to the dedicated archive tools.
I imagine the option would just disable the recognition mechanism, and make user responsible for properly using it.
An error from archive library would be passed to the user in case of not-actually-archive file, just like with a damaged archive with proper filename extension.
There are plenty of files that have double filetypes- besides being a database file, installer, disk image or document, they are also just archives in formats openable by the current 7zip plugin.
Yet there is no way to open them as such in DO, similarly to fe. zip files.
Maybe a Go ASARCHIVE command could be supported, that attempts to treat a file as archive, open it with an archive plugin and display in lister?[/quote]
Doesn't it depend on the extension and the actual archive format though?
For instance, if I rename a ZIP file to .bmp and try to do a go {f} Opus just twitches... but if I add .bmp to the list of zip extensions in Prefs, the same command then enters and lists the zip file fine. So at least for the ZIP format that is supported internally, sounds like you can get some of what you want? For other formats supported only by the 7z plugin... probably not.
[quote="steje"]Doesn't it depend on the extension and the actual archive format though?
For instance, if I rename a ZIP file to .bmp and try to do a go {f} Opus just twitches... but if I add .bmp to the list of zip extensions in Prefs, the same command then enters and lists the zip file fine. So at least for the ZIP format that is supported internally, sounds like you can get some of what you want? For other formats supported only by the 7z plugin... probably not.[/quote]
Not suggesting that you rename the extensions of your files... I'm suggesting you add the extensions that are in fact ZIP format archives to the list of zip extensions in prefs... then go {f} will work... At least with most extensions (exe doesn't seem to work for some reason).