Page 1 of 1

x64 Archive handling

Posted: 07 Jul 2025 18:35
by Horst
As XY is now 64-bit and works with all my scripts
I'm coming back to one of the still missing features.
You can't preview an archive or, even better, enter it like a folder.
All other file mangers I have support this.

Unfortunately, none of the script Gurus has yet provided a way
to preview archive content and optionally extract some files from it.

Using the native GUI of WinRAR or 7zip from the context menu
is not the way one should need.

Re: x64 Archive handling

Posted: 07 Jul 2025 20:29
by highend
Mh?
I can preview e.g. a .zip file in the preview window just fine and even dive into subfolders in that pane and drag & drop to the list pane works for me...

Re: x64 Archive handling

Posted: 08 Jul 2025 08:01
by Horst
highend wrote: 07 Jul 2025 20:29 Mh?
I can preview e.g. a .zip file in the preview window just fine and even dive into subfolders in that pane and drag & drop to the list pane works for me...
You are right for zip. :)
I found that rar has to be enabled first.
Unfortunately, most of my archives are 7z

Re: x64 Archive handling

Posted: 08 Jul 2025 09:03
by highend
@Don
I haven't used .7z for a long time but this is my config in XY:

Code: Select all

ZipExtWinRAR=.7z.ace.arj.bz2.cab.gz.iso.jar.lzh.rar.tar.uue.xz.z.
ZipPath7zip=<xypath>\@Tools\7-Zip_x64\7z.exe
ZipExtractUse7zip=1

Code: Select all

e exists("<xypath>\@Tools\7-Zip_x64\7z.exe");
Outputs "1".

I'm not a 100% sure previewing .7z worked in XY non-TB in the past...
It doesn't work in non-TB and TB atm (TB has the same keys=values).

Is there another step necessary or can you confirm that it doesn't work at all atm?

Re: x64 Archive handling

Posted: 08 Jul 2025 11:46
by Horst
I found the problem :D
Preview for .7z must be added under the Web Files
The same for .cab
Also
ZipExtractUse7zip=1
Works fine now.

Btw. I think there should be a type Archives
as archive types are not web related.

Unfortunately, the previews have a white background and I use Dark mode.

I still think archives should be opened like folders.

Re: x64 Archive handling

Posted: 08 Jul 2025 11:59
by highend
It doesn't work for me with 7z files, even when the extension is added to "Web Files"
I get these dialog boxes when I try to preview a .7z in the preview panel:
1.png
I think there should be a type Archives
+5!

Re: x64 Archive handling

Posted: 08 Jul 2025 12:49
by Horst
highend wrote: 08 Jul 2025 11:59 It doesn't work for me with 7z files, even when the extension is added to "Web Files"
I get these dialog boxes when I try to preview a .7z in the preview panel:
Do you have a system-wide (Explorer) association for .7z files ?
I can set it to the 7z file manager, but normally I use my Total Commander
which opens the archive like a folder.
If opening a .7z file from Explorer, there sometimes comes a screen
which has enabled an option to "Always ask to open ..".
Uncheck this.

Whatever I do on the system association,
the XY preview of .7z always works since I added it to the Web Files.

One more Idea, may your files have the attribute Downloaded from Internet ?
In this case, you have to unprotect them in their properties.

Re: x64 Archive handling

Posted: 08 Jul 2025 12:57
by admin
I can see the contents of 7z files in the Hover Box. No special settings required.
But the preview (after adding 7z to Web files) does not work (it happens what highend described).

Re: x64 Archive handling

Posted: 08 Jul 2025 13:01
by highend
Do you have a system-wide (Explorer) association for .7z files?
Nope
One more Idea, may your files have the attribute Downloaded from Internet?
No, they are created locally

Re: x64 Archive handling

Posted: 08 Jul 2025 14:12
by Horst
highend wrote: 08 Jul 2025 13:01
Do you have a system-wide (Explorer) association for .7z files?
Nope
Have you tried it ?

Re: x64 Archive handling

Posted: 08 Jul 2025 14:17
by highend
No I didn't try to set one. My stuff should stay portable if possible, I'll only do assignments in CFA.

But the dialogs I get don't seem to have anything to do with a default file association, it's something that looks like web files are handled