ZTree.com  | ZEN  | About...  

 Index   Back

"Error: Invalid Name [123] D:\etc\temp\C:"   [Q]

By: Oliver Pretzel       
Date: Jun 03,2019 at 09:15
In Response to: [Q] 7za.exe -spf ( use fully qualified file paths ) (Liviu)

> 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.

I think the problem is caused by including drive letters and colons in the file names and your option (b) applies. I assume 7za can extract such files with paths, but I guess only to their drives + absolute paths. The drives would have to present and writable. (I have not checked this and 7za may be more sophisticated than that).

Ztree alt-extracts to a branch, say D:\etc\temp. Given the names in the archive it will try and create a file D:\etc\temp\C:\etc\c$.tmp. That is illegal because : is not allowed in file or directory names.

It might be possible to change ZTree's parsing of archive file names to strip the colon. Then it would extract the files to subdirectories whose names are the drive letter without the colon, D:\etc\temp\C\etc\c$.tmp. I'm not sure how useful that would be.


Thread locked

Messages in this Thread

95,075 Postings in 11,986 Threads, 350 registered users, 133 users online (1 registered, 132 guests)
Index | Admin contact |   Forum Time: Aug 12, 2020 - 11:29 pm EDT  |  Hits:33,075,221  (23,579 Today )
RSS Feed