If you have WinRAR installed:
Please pack some files with Unicode characters (eg 日本人) to a RAR, then try this script (fill in the placeholders):
Code: Select all
text runret('"<full path to UnRAR.exe>" lb "<full path RAR archive>"');
Code: Select all
text runret('"<full path to UnRAR.exe>" lb "<full path RAR archive>"');
Wow, now that's a totally different story! So, full RAR support looks possible now. I will look at this for 19.50.... thanks a lot!jupe wrote: ↑13 Nov 2018 07:25 Maybe using UnRAR.dll instead might work?
https://www.rarlab.com/rar/UnRARDLL.exe
The same is true for the current German site (http://www.winrar.de/eula.php):5.a. No person or company may distribute separate parts of the package with the exception of the UnRAR components, without written permission of the copyright owner.
So UnRAR could even be distributed freely, but no one here does even that. You could download it yourself and use it from XYplorer freely (and it does not need to be installed in order to work from XYplorer - I explicitly made a separate folder for UnRar and tweaked XY accordingly). At least this is my understanding of the above.3. Die unlizenzierte Testversion der Software darf ohne Einschränkungen verbreitet werden, sofern Umfang und Inhalt des Originalpakets nicht verändert werden. Es gelten folgende Einschränkungen:
a. Niemand darf Teile des Original-Programmpakets (mit Ausnahme der Komponenten von UnRAR) ohne die schriftliche Genehmigung des Urheberrechtsinhabers verbreiten.
[...]
Code: Select all
7za.exe l "<path>\<archive file>"
Yes, it works, but the result is hard to parse. Not machine friendly:highend wrote: ↑14 Nov 2018 10:267za = 7-Zip Extra: standalone console version, 7z DLL, Plugin for Far Manager (additional download)Code: Select all
7za.exe l "<path>\<archive file>"
E.g. for the current version: https://www.7-zip.org/a/7z1805-extra.7z
Code: Select all
7-Zip (a) 18.05 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2018-04-30
Scanning the drive for archives:
1 file, 571665 bytes (559 KiB)
Listing archive: E:\Test\Archives\7zip\Mongolia.7z
--
Path = E:\Test\Archives\7zip\Mongolia.7z
Type = 7z
Physical Size = 571665
Headers Size = 203
Method = LZMA:768k
Solid = +
Blocks = 1
Date Time Attr Size Compressed Name
------------------- ----- ------------ ------------ ------------------------
2016-10-24 08:47:03 ....A 343262 571462 AeroMongolia.jpg
2018-10-23 15:07:35 ....A 244577 Burma_Shave_Tube.jpg
------------------- ----- ------------ ------------ ------------------------
2018-10-23 15:07:35 587839 571462 2 files
Code: Select all
$text = <<<>>>
7-Zip (a) 18.05 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2018-04-30
Scanning the drive for archives:
1 file, 571665 bytes (559 KiB)
Listing archive: E:\Test\Archives\7zip\Mongolia.7z
--
Path = E:\Test\Archives\7zip\Mongolia.7z
Type = 7z
Physical Size = 571665
Headers Size = 203
Method = LZMA:768k
Solid = +
Blocks = 1
Date Time Attr Size Compressed Name
------------------- ----- ------------ ------------ ------------------------
2016-10-24 08:47:03 ....A 343262 571462 AeroMongolia.jpg
2018-10-23 15:07:35 ....A 244577 Burma_Shave_Tube.jpg
------------------- ----- ------------ ------------ ------------------------
2018-10-23 15:07:35 587839 571462 2 files
>>>;
$data = regexmatches($text, strrepeat("-", 24) . "[\s\S]*?(?=\r?\n" . strrepeat("-", 19). ")");
$data = regexreplace($data, "^-.*(\r?\n|$)");
$data = regexreplace($data, "^.{53}");
text $data;
Code: Select all
AeroMongolia.jpg
Burma_Shave_Tube.jpg
Compared to WinRAR:Packing / unpacking: 7z, XZ, BZIP2, GZIP, TAR, ZIP and WIM
Unpacking only: AR, ARJ, CAB, CHM, CPIO, CramFS, DMG, EXT, FAT, GPT, HFS, IHEX, ISO, LZH, LZMA, MBR, MSI, NSIS, NTFS, QCOW2, RAR, RPM, SquashFS, UDF, UEFI, VDI, VHD, VMDK, WIM, XAR and Z
Plus 7-Zip is free, open-source, blah blah.Packing / unpacking: RAR, ZIP
Unpacking only: CAB, ARJ, LZH, TAR, GZ, ACE, UUE, BZ2, JAR, ISO, 7Z, XZ, Z
Code: Select all
7za.exe l "<path>\<archive file>"