SC zip_list2

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Daniel0312
Posts: 256
Joined: 15 Feb 2016 10:48

SC zip_list2

Post by Daniel0312 »

Hi
Calling SC zip_list2 with a .rar file doesn't give the expected result (.zip and .7z files are OK though).
current version of winrar (and unrar) 7.23.
Internal structure of test.rar

Code: Select all

test
  file1.ext1
  file2.ext2
zip_list2("test.rar", <crlf>) returns

Code: Select all

0  test\
4  test\
7  test\
If the file contains more files under the root folder, the output pattern is the same, root file folder prefixed with numbers from 0 to 9.
If there is no folder, same kind of result, the file names are listed OK, but prefixed.
Hovering over the file icon gives the same result.
Daniel
XY32 latest stable / Windows11 23H2 / Scaling 100%

phred
Posts: 696
Joined: 26 Dec 2021 02:10
Location: XY 64bit on Win10 at 100% from Boston USA

Re: SC zip_list2

Post by phred »

Daniel0312 wrote: ↑14 Sep 2026 08:34 current version of winrar (and unrar) 7.23.
See the big red section at the top?
What version of XY?

Daniel0312
Posts: 256
Joined: 15 Feb 2016 10:48

Re: SC zip_list2

Post by Daniel0312 »

@phred
as stated in my signature latest XY32 (27.20.1600 right now)
Daniel
XY32 latest stable / Windows11 23H2 / Scaling 100%

phred
Posts: 696
Joined: 26 Dec 2021 02:10
Location: XY 64bit on Win10 at 100% from Boston USA

Re: SC zip_list2

Post by phred »

Daniel0312 wrote: ↑15 Sep 2026 07:19 as stated in my signature
Ahhh ... so it is. These old eyes of mine missed the small type.

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

Re: SC zip_list2

Post by admin »

Can't reproduce. Can you send such a RAR to support?

Daniel0312
Posts: 256
Joined: 15 Feb 2016 10:48

Re: SC zip_list2

Post by Daniel0312 »

RAR file send (twice, just in case :))
Daniel
XY32 latest stable / Windows11 23H2 / Scaling 100%

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

Re: SC zip_list2

Post by admin »

Nothing arrived. :|

Daniel0312
Posts: 256
Joined: 15 Feb 2016 10:48

Re: SC zip_list2

Post by Daniel0312 »

Hi Don
Sent again on 26/09 from a different email account...
Hope you get it.
Daniel
XY32 latest stable / Windows11 23H2 / Scaling 100%

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

Re: SC zip_list2

Post by admin »

Nope.

Daniel0312
Posts: 256
Joined: 15 Feb 2016 10:48

Re: SC zip_list2

Post by Daniel0312 »

Hi Don !
It seems your email server doesn't like me :(
I just send it using SwissTranfer...
Regards
Daniel
XY32 latest stable / Windows11 23H2 / Scaling 100%

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

Re: SC zip_list2

Post by admin »

zip it and attach it here to your next post

Daniel0312
Posts: 256
Joined: 15 Feb 2016 10:48

Re: SC zip_list2

Post by Daniel0312 »

Here it is
NewFileTime.zip
and what I get when I hover the icon of a rar converted portable xy zip file
Clipboard-20261002.jpg
Thanks
To see the attached files, you need to log into the forum.
Daniel
XY32 latest stable / Windows11 23H2 / Scaling 100%

jupe
Posts: 3543
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: SC zip_list2

Post by jupe »

In your orig post I noticed in your output the numbers aren't sequential, eg 0,4,7, if you manually correct the paths in the below cmd and then run it from a command prompt window:

Code: Select all

"C:\Program Files\WinRAR\UnRAR.exe" l "C:\fullpath_to\test.rar"
does the last digit of the file timstamps correspond to the numbers you see prefixed in XY? and if it does, does your date output format resemble this: 2026-04-06 11:57, what codepage/locale are you using?

Since it is a you only thing this happens to, If you just want a workaround to the issue, you should be able to just remove the path from ZipPathUnRAR= and XY should fallback to using 7z, (actually it might take you renaming UnRAR.exe if its a registered app)

jupe
Posts: 3543
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: SC zip_list2

Post by jupe »

@Don: Although I can't repro OP's issue, I do know of one issue with the current RAR listing that is possible, if you have some certain archive comments the listing can become erroneous, sample file below.
I think possibly an easy fix (at least for RAR not 7z) would be passing the -c- switch to supress the comment. eg. UnRAR.exe l -c-
To see the attached files, you need to log into the forum.

Daniel0312
Posts: 256
Joined: 15 Feb 2016 10:48

Re: SC zip_list2

Post by Daniel0312 »

@jupe
I don't know how you do it but you really have a point there !!! :appl:
screenshot #01.jpg

Code: Select all

6  NewFileTime\
8  NewFileTime\
screenshot #02.jpg

Code: Select all

7  NewFileTime\
8  NewFileTime\
It definitely looks like SC zip_list2 catches the last minutes digit. That would explain the xy rar archive 0 prefix (time ends with 00).
code page 850, french
To see the attached files, you need to log into the forum.
Daniel
XY32 latest stable / Windows11 23H2 / Scaling 100%

Post Reply