Page 1 of 1

ZIP: Do you want to open or save this file

Posted: 06 Oct 2023 21:37
by PSBfan
XYPlorer works great, but I have a small problem and can't find the solution in the settings, help file or this forum.

When I click on a ZIP-file I get a pop-up "Do you want to open or save this file" (see screenshot).
With RAR-file I don't get this message.

I'm using version 25.00.0100, but version 24.90 had this problem too (windows 10, 22H2).
ZIP-folders are disabled after installing windows, IZArc is installed for ZIP-files and WinRAR for RAR-files.

Can you tell me how to solve the problem that I don't receive the pop-up anymore?

Re: ZIP: Do you want to open or save this file

Posted: 06 Oct 2023 21:44
by highend

Re: ZIP: Do you want to open or save this file

Posted: 07 Oct 2023 09:37
by PSBfan
I'm sorry to say, but it didn't work (I did the option with the reg-file).

Some ZIP-files are unblocked and still the choice to open or save the file.
Also some RAR-files are blocked, but no message like with ZIP-files.

I think it has something to do with ZIP handling, because it's only happening with ZIP-files.

Re: ZIP: Do you want to open or save this file

Posted: 07 Oct 2023 09:44
by highend
And you did download that .zip file again OR removed the zone identifier from it? Because otherwise it STILL has the zone identifier and the zip component of the OS (and XY is using that!) will complain about it^^

https://www.trishtech.com/2018/12/how-t ... n-windows/

Re: ZIP: Do you want to open or save this file

Posted: 07 Oct 2023 17:58
by PSBfan
I tried both: remove the zone identifier and download a new file after disabling downloaded files from being blocked in Windows.
The new downloaded file gives also the pop-up, but at properties no message about "this file came from another computer", so the reg-file works.

This morning I downloaded 2 ZIP-files without zone indentifier and still the pop-up.
I removed the zone identifier from a complete folder (with the link and also restart computer), download a new ZIP-file, but still the pop-up.

Re: ZIP: Do you want to open or save this file

Posted: 07 Oct 2023 18:15
by highend
Right click that file, "Properties", show a screenshot of the "General" tab

Re: ZIP: Do you want to open or save this file

Posted: 08 Oct 2023 10:37
by PSBfan
This screenshot is from a new downloaded file after your suggestions.

Re: ZIP: Do you want to open or save this file

Posted: 08 Oct 2023 13:43
by highend
Interesting. I'd suggest to use a CFA (custom file association)...

Code: Select all

"Open .zip with IZArc" zip>::run lax("<enter the full IZArc path here>" "<pfaitem>");

Re: ZIP: Do you want to open or save this file

Posted: 31 Oct 2023 12:10
by PSBfan
Sorry for the late reply (vacation), but I tried the following CFA (as you suggested), but it still won't work:

"Open .zip with IZArc" zip>::run lax("<C:\Program Files (x86)\IZArc\IZArc.exe>" "<pfaitem>");

I tried also this, but the same result: "Open .zip with IZArc" zip>::run lax("C:\Program Files (x86)\IZArc\IZArc.exe" "<pfaitem>");

I tried to install it at work, but the strange thing is that ZIP-files aren't unblocked (what you advised earlier), but it works on Windows 10 enterprise edition 22H2 without the pop-up I have at home.
Maybe it's because at home I did an upgrade from Windows 7 to Windows 10 (end of 2019) and at work I had a clean install with Windows 10.

If you don't know another way to solve that I get this pop-up every time, maybe I have to deal with it.

Re: ZIP: Do you want to open or save this file

Posted: 31 Oct 2023 12:23
by highend
"it won't work" means nothing to me.

Record a .gif animation (e.g. via https://github.com/NickeManarin/ScreenToGif)
of the whole process and append it as an attachment (if not too large) to your next post

Re: ZIP: Do you want to open or save this file

Posted: 07 Nov 2023 16:45
by PSBfan
I'm sorry, I should explain it different than "it won't work".

I tried to make an animation GIF what happened when I click on a ZIP-file.
I've only selected a small part of the screen to keep the filesize small.
The same pop-up appear when I scroll through a folder (with arrow up or arrow down) and select a ZIP-file in that folder.

Re: ZIP: Do you want to open or save this file

Posted: 07 Nov 2023 17:43
by highend
Enter ::fresh; in the address bar and hit the ENTER key.
Configure the CFA there and add the izarc entry. Double click on a .zip again. Does the same happen like in the .gif for your "main" version?

Re: ZIP: Do you want to open or save this file

Posted: 11 Nov 2023 12:39
by PSBfan
No, this time I can scroll through the folder (and click on a ZIP-file) without the pop-up in the GIF-file.

But when I double click on the same ZIP-file from the GIF-file I get a script error, but the path to the IZArc-program is correct.

Re: ZIP: Do you want to open or save this file

Posted: 11 Nov 2023 14:14
by highend
That's not a real path^^ Remove the < and >

Afterwards post the complete definitions of your CFAs from your main XY version

Menu - Tools - List Management - Custom File Associations...
Click on the little pencil button in the lower left corner...

Re: ZIP: Do you want to open or save this file

Posted: 15 Nov 2023 15:16
by PSBfan
The complete definition of my main XY version is the following:

+"Open .zip with IZArc" zip>::run lax("C:\Program Files (x86)\IZArc\IZArc.exe" "<pfaitem>");
+gif;jpg;png>C:\Program Files (x86)\IrfanView\i_view32.exe
txt>Notepad
txt;rtf>Wordpad
"Windows Photo Viewer" {:Image}>::run """%SystemRoot%\System32\rundll32.exe"" ""%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll"", ImageView_Fullscreen <curitem>"
+|"Copy file size in bytes" *>::e|copytext <cursize>
+|"Append Modified Date to Filename" \;*>::e|rename , '*-<datem yyyymmdd>'
+|"Append Image Dimensions to Filename" {:Image}>::e|rename , '*-<prop #image.dimensions>'

The second option (with IrfanView) was added before I read in the forum that you can uncheck the Windows Photo Viewer.