ZTree.com  | ZEN  | About...  

 Index   Back

[Q] 7za.exe -spf ( use fully qualified file paths )   [Q]

By: Liviu       
Date: Jun 02,2019 at 17:22

I noticed that 7z (finally) added the option to store full paths back in v9.25, so I decided to give it a try using the latest 7z v19. The archive is created correctly, and list/view also work as expected. So do Extract and Ctrl-Extract, however, I am unable to Alt-Extract any files from the archive, even from below the drive letters level. I am wondering whether (a) there is something wrong with my BB2 entries, or (b) I misunderstand how this is supposed to work, or maybe (c) it will take changes in ZTree to support such archives. Below are some more technical details.

Creating a test archive with two files from different drives works, and viewing it shows the following.

[image]

Alt-F5 also lists the contents correctly, as shown below.

[image]

The file(s) Extract and Ctrl-Extract fine, but Alt-Extract fails with "Error: Invalid Name [123] D:\etc\temp\C:".

Cheers,
Liviu

P.S. The BB2 entry for .7z that I am toying with is copied below.

;............................................................. 7-zip v19.0 ....
;
; config'd    [l]  -sccUTF-8    utf-8 output when listing archives
;           [e/x]  -y           assume 'yes' on all queries
;             [a]  -spf         use fully qualified file paths
;             [a]  -ms=off      turn off creation of solid archives
;             [a]  -mx9         max compression
;
; defaults    [a]  -scsUTF-8    utf-8 @list files
;             [a]  -mqs=on      sort by type in solid arcs, n/a when -ms=off
;
; not supported    -sns         process ntfs alternate streams, but .wim only
;
7-Zip v19.0 for .7z [LFNU]
7z
0
arc\7za.exe l -sccUTF-8
arc\7za.exe e -y
arc\7za.exe x -y
arc\7za.exe t        
arc\7za.exe a -ms=off -mx9 @list
arc\7za.exe a -spf -ms=off -mx9 @list
arc\7za.exe a -r -ms=off -mx9 @list
arc\7za.exe m
arc\7za.exe m
arc\7za.exe d @list
7z\xbc\xaf\x27\x1c
------------------- ----- ------------ ------------  ------------------------
------------------- ----- ------------ ------------  ------------------------
2
3
0
1
4
;..............................................................................

210 views      
 

Messages in this Thread

 
94,638 Postings in 11,936 Threads, 348 registered users, 9 users online (0 registered, 9 guests)
Index | Admin contact |   Forum Time: Dec 7, 2019 - 1:52 pm EST  |  Hits:29,376,998  (2,175 Today )
RSS Feed