Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

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

Back
Top