ZIP/UNZIP issues

1. Neither ZIP nor UNZIP can handle path names containing spaces.

2. UNZIP will not restore multi-level directory structures. It appears to
restore the files at the highest level plus empty subdirectories.

3. In addition to the /P option which stores full path information for all
files, it would be useful for ZIP to be able to store folder names only for
folders recursed by /R. All the zip programs I've used have such an option.

-- Howard
 
May 20, 2008
11,391
99
Syracuse, NY, USA
On Sat, 03 Oct 2009 19:30:43 -0500, Howard Goldstein <>
wrote:

|1. Neither ZIP nor UNZIP can handle path names containing spaces.

This is OK:

v:\> zip "a b.zip" "a b.txt"
<= V:\a b.txt

The zipfile is correctly created. But,

v:\> unzip /v "a b.zip"
TCC: Error in archive "a b.zip" :
Invalid argument.
Filename : "a b.zip"
--
- Vince
 

rconn

Administrator
Staff member
May 14, 2008
12,340
149
1. Neither ZIP nor UNZIP can handle path names containing spaces.

2. UNZIP will not restore multi-level directory structures. It appears to
restore the files at the highest level plus empty subdirectories.

3. In addition to the /P option which stores full path information for all
files, it would be useful for ZIP to be able to store folder names only for
folders recursed by /R. All the zip programs I've used have such an option.

-- Howard

1) UNZIP has been fixed for build 23. I have no problems with ZIP -- can you give me an example of what's failing for you?

2) You need to specify the /D option to UNZIP if you want to copy the directory structure.

3) Not sure I understand what you're asking for -- /R already does save path information.
 
Rex Conn wrote:


> ---Quote (Originally by Howard Goldstein)---
> 1. Neither ZIP nor UNZIP can handle path names containing spaces.
>
> 2. UNZIP will not restore multi-level directory structures. It appears to
> restore the files at the highest level plus empty subdirectories.
>
> 3. In addition to the /P option which stores full path information for all
> files, it would be useful for ZIP to be able to store folder names only
> for
> folders recursed by /R. All the zip programs I've used have such an
> option.
>
> -- Howard
> ---End Quote---
>
> 1) UNZIP has been fixed for build 23. I have no problems with ZIP -- can
> you give me an example of what's failing for you?
>
> 2) You need to specify the /D option to UNZIP if you want to copy the
> directory structure.
>
> 3) Not sure I understand what you're asking for -- /R already does save
> path information.
>
1. Sorry, I misspoke. ZIP does handle LFNs correctly.

2. /D is listed in the help but not described. When I tried it, it did
what I wanted but failed to extract the last eight files in one directory in
the archive. I will send you private email later with the archive so you
can see for yourself.

3. More explanation and samples of what I mean will be in the email.

4. The folders created by UNZIP /D where not added to JPSTREE.IDX.
 
Similar threads
Thread starter Title Forum Replies Date
Joe Caverly ZIP, UNZIP v11 Beta Support 6
C Documentation Help nix ZIP /M Support 0
Chen Touboul Failed to ZIP Support 9
I zip /M fails to delete file after adding to zip file Support 2
Joe Caverly 7zip command links to zip help Support 0
T How to? ZIP/7ZIP @listfile with folders Support 2
Joe Caverly UNZIPping older .ZIP files Support 3
M Is the sdk.zip file corrupted? Support 8
C ZIP/U compares wrong timestamp Support 13
C ZIP Support 0
R Fixed Internal ZIP command fails to process multiple files Support 3
vefatica ZIP? Support 13
D Zip errors on large files. Support 4
C ZIP .vs. PkZip Support 21
mikea Questions re: Internal ZIP command Support 5
S How to? Set the timestamp of ZIP command built archive to match latest member Support 8
C ZIP behavior Support 5
Frank ZIP: howto store directory in the zip-file Support 20
vefatica ZIP /U a little screwy Support 9
J zip wrong central directory signature Support 12
C Vince - your FTP'ed jpsupport.zip's Support 1
ehab aboudaya WAD starting tcmd.exe with dir that has Boost C++ Libraries zip file delays Support 2
T Paths in ZIP Support 1
fpefpe zip command file size Support 1
T Zip and reparse points Support 7
J ZIP Help - minor quibble Support 0
H V12 Zip encryption Support 1
S ZIP support in next version? Support 1
vefatica ZIP's informative output Support 1
D Zip /q Support 0
S Version 11 ZIP /V - Permission denied on Network drive Support 2
S UNZIP all archives to separate subdirectory Support 10
C unzip problems Support 2
D unzip fails to find valid license Support 3
Jay Sage Fixed Mistake in Command Dialog for UNZIP Support 0
fishman@panix.com Inadequate HELP for UNZIP command. Support 3
H 12.10 UNZIP ignores destination path spec Support 2
Phileosophos unzip not using specified path Support 5
D unzip problem in tcmd 12 b 36 Support 3
nikbackm unzip issues in v12 Support 12
fishman@panix.com Unzip in 12.0 Support 1
H UNZIP /F and /U still not right 12.0.27 Support 0
H Unzip /F and /U not working in V12 Support 3
H V12 UNZIP very slow under certain circumstances Support 3
H UNZIP /U issue Support 0
Phileosophos Unzip doesn't extract to specified output folder Support 5
D unzip /d in directory with space in name Support 1
fishman@panix.com Problem with unzip Support 4
S Issues with version v26.02.42 x64 Support 0
Jay Sage Issues With TCMD File Explorer Support 0

Similar threads