ZIP Support (so I can finally retire "PowerDersk Pro")

Features wanted...
Nighted
Posts: 463
Joined: 21 Jan 2007 01:58
Location: Gitmo Nation North, Win 7/10/Linux/(x64)

Re: ZIP Support (so I can finally retire "PowerDersk Pro")

Post by Nighted »

admin wrote:Could it be that for some reason your system does not support zip folders. What OS is it?
Yes, I disabled zip and cab folders in Windows 7 long ago. Useless feature and a waste of resources. I have re-enabled it for now to test and it's now working. Now I will go back and get rid of it again! :)

I had considered this but ignored it because of your philosophy on using 3rd party stuff. I had assumed the extraction would have been handled by XY natively. :oops:
I want XY to serve soft ice cream. Please Don, make XY serve soft ice cream.

Filehero
Posts: 2713
Joined: 27 Feb 2012 18:50
Location: Windows 11@100%

Re: ZIP Support (so I can finally retire "PowerDersk Pro")

Post by Filehero »

admin wrote:But now I have to focus on soccer... :mrgreen:
Who's playing?

Who cares anyway, the triple will stay unsurpassed for good. :mrgreen:


Cheers,
Filehero

totmad1
Posts: 131
Joined: 24 Jun 2013 12:37

Re: ZIP Support (so I can finally retire "PowerDersk Pro")

Post by totmad1 »

wrote this script to use new zip_list() . Works to a certain point but also not seeing most extensions .

Code: Select all

"list this Zip" text zip_list(, <crlf>);
"List zips in this folder"
        selfilter "*.zip"; $CList =""; $pList ="";
        $SelectedItems = get("SelectedItemsPathNames", "|");
              
        foreach($Item, $SelectedItems, "|") {
              
        $pList =zip_list("$Item", <crlf>);

        $CList = $CList . $Item<crlf> $pList <crlf><crlf>;
             $pList ="";
          }

            writefile("<curfolder>1.txt", $CList);
tested on XP and win 7 64bit same results whether paths had spaces or dots or both.

totmad1 (totally mad one)
totmad1 (totally mad one)

admin
Site Admin
Posts: 64838
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: ZIP Support (so I can finally retire "PowerDersk Pro")

Post by admin »

I never had this missing extensions once. :veryconfused:

Anyway, I will probably write this part from scratch to make it real native (without dependency on ZipFolders) and this phenomenon should disappear then.

admin
Site Admin
Posts: 64838
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: ZIP Support (so I can finally retire "PowerDersk Pro")

Post by admin »

admin wrote:
serendipity wrote:1. Can contents of zip_list() show extensions by default like name.ext rather than just name?
It does not show the extensions??? Certainly does here. :?
OK, I probably got it: Looks like you ticked "Hide known extensions" in the Explorer settings? No problem, I can work around it.

admin
Site Admin
Posts: 64838
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: ZIP Support (so I can finally retire "PowerDersk Pro")

Post by admin »

serendipity wrote:2. Is it possible for command zip_extract to extract specific files? syntax: zip_extract(zipfile, path, files to extract)
3. Can command zip_extract have a smart mode for extract here, where if top folder is folder then use extract here, else use extract to folder\ ?
2. Maybe later.
3. Maybe later.

:)

Jerry
Posts: 828
Joined: 05 May 2010 15:48
Location: The UnUnited States of America

Re: ZIP Support (so I can finally retire "PowerDersk Pro")

Post by Jerry »

Thanks for adding Zip Support! A couple of requests:

1. Could a Zip To... submenu be added to the Zip context menu allowing you to extract to some other location selected from a menu and dialog similar to the Move to../Copy To.. function? I always keep my zips in a one or two download locations and always extract to other locations.

2. Will Zip operations eventually be included in the Action Log for undo/redo?

Jerry
Running on Windows 10 Pro 64-bit quad-core ASUS G752-VY notebook with 64 GB RAM, over 26 external USB3 drives attached via multiple powered hubs with letters and mount points, totaling 120+ TB.

admin
Site Admin
Posts: 64838
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: ZIP Support (so I can finally retire "PowerDersk Pro")

Post by admin »

Jerry wrote:Thanks for adding Zip Support! A couple of requests:

1. Could a Zip To... submenu be added to the Zip context menu allowing you to extract to some other location selected from a menu and dialog similar to the Move to../Copy To.. function? I always keep my zips in a one or two download locations and always extract to other locations.

2. Will Zip operations eventually be included in the Action Log for undo/redo?

Jerry
1. Yes, in a later phase.

2. Highly unlikely. :)

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: ZIP Support (so I can finally retire "PowerDersk Pro")

Post by serendipity »

admin wrote:
serendipity wrote:2. Is it possible for command zip_extract to extract specific files? syntax: zip_extract(zipfile, path, files to extract)
3. Can command zip_extract have a smart mode for extract here, where if top folder is folder then use extract here, else use extract to folder\ ?
2. Maybe later.
3. Maybe later.

:)
No problem. And thanks for taking care of extensions, now i see them all.

PeterH
Posts: 2826
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: ZIP Support (so I can finally retire "PowerDersk Pro")

Post by PeterH »

Hey: ZIP-Support :shock: :shock:
Already very fine, after this short time! :o
Don't know what to say :appl: :appl: :appl:

found 2 things on a first short look:

- Viewing contents of XY.noinstall.zip: all OK *but* XYplorer.url is missing the extension. (All others correct!)

- For sure it's good to have Floating Preview of zip contents. Though I miss in context menu, under Zip> the ability to show contents. Would be OK to also show it as FP - but I think this is the position where users just expect it!

Nighted
Posts: 463
Joined: 21 Jan 2007 01:58
Location: Gitmo Nation North, Win 7/10/Linux/(x64)

Re: ZIP Support (so I can finally retire "PowerDersk Pro")

Post by Nighted »

admin wrote:Anyway, I will probably write this part from scratch to make it real native (without dependency on ZipFolders) and this phenomenon should disappear then.
Which part, zip extraction?
I want XY to serve soft ice cream. Please Don, make XY serve soft ice cream.

admin
Site Admin
Posts: 64838
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: ZIP Support (so I can finally retire "PowerDersk Pro")

Post by admin »

PeterH wrote: - Viewing contents of XY.noinstall.zip: all OK *but* XYplorer.url is missing the extension. (All others correct!)

- For sure it's good to have Floating Preview of zip contents. Though I miss in context menu, under Zip> the ability to show contents. Would be OK to also show it as FP - but I think this is the position where users just expect it!
1. *.url is here. Are you using the latest beta?

2. Yes, Had the same idea. "View" will be add to Zip menu.

3. >> Would be OK to also show it as FP
Huh? Don't understand.

admin
Site Admin
Posts: 64838
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: ZIP Support (so I can finally retire "PowerDersk Pro")

Post by admin »

Nighted wrote:
admin wrote:Anyway, I will probably write this part from scratch to make it real native (without dependency on ZipFolders) and this phenomenon should disappear then.
Which part, zip extraction?
Content listing. But I did not rewrite it yet. It is very difficult, and the current way seems to work as well. Very few users will actively unregister zipfldr.dll, so the feature should work for the vast majority of users.

In later phase I will look at content listing of RAR archives.

PeterH
Posts: 2826
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: ZIP Support (so I can finally retire "PowerDersk Pro")

Post by PeterH »

admin wrote:
PeterH wrote: - Viewing contents of XY.noinstall.zip: all OK *but* XYplorer.url is missing the extension. (All others correct!)

- For sure it's good to have Floating Preview of zip contents. Though I miss in context menu, under Zip> the ability to show contents. Would be OK to also show it as FP - but I think this is the position where users just expect it!
1. *.url is here. Are you using the latest beta?

2. Yes, Had the same idea. "View" will be add to Zip menu.

3. >> Would be OK to also show it as FP
Huh? Don't understand.
1. It was 12.50.16 - now 12.50.19 still the same: .url is missing in Zip View. Maybe some windows-option? (Any idea? W7 SP1)
The error shows only on View: extracting the zip correctly leads to XYplorer.url

2. View: fine :-)

3. Don't mind: just wanted to say preview format ('Floating') doesn't matter.

admin
Site Admin
Posts: 64838
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: ZIP Support (so I can finally retire "PowerDersk Pro")

Post by admin »

Confirmed. Once again I have to program circles around Win7. My hate against Vista/Win7 approaches my Netscape hate 10 years ago... :blackstorm:

Post Reply