1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ZIP/UNZIP issues

Discussion in 'Support' started by Howard Goldstein, Oct 3, 2009.

  1. Howard Goldstein

    Joined:
    Jun 1, 2008
    Messages:
    111
    Likes Received:
    1
    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
     
  2. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,794
    Likes Received:
    29
    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
     
  3. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,732
    Likes Received:
    81
    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.
     
  4. Howard Goldstein

    Joined:
    Jun 1, 2008
    Messages:
    111
    Likes Received:
    1
    Rex Conn wrote:


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

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,732
    Likes Received:
    81
    WAD -- I tried doing that originally but it rather dramatically slowed down
    the unzipping.

    Rex Conn
    JP Software
     

Share This Page