[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  -d   Restore directory structure

  This command option uses the path names that have been stored in the .ZIP
  file by PKZIP.  If the stored paths do not exist at the extraction
  destination, they will be created.

  For example: If the following directory tree exists on drive C:

     C:\---ABC---DIR1
         |     +-DIR2---DIR3
         |            +-DIR4
         |-XYZ
         +-PDQ

  If you executed:

     pkzip -rp a:stuff c:\abc\*.*

  A .ZIP file called STUFF would be created containing all the files in the
  directory "abc", as well as any subdirectories below that directory.

  If you then executed:

     pkunzip -d a:stuff c:\xyz\newabc

  The directory structure of drive C: would now look like this:

    C:\---ABC---DIR1
        |     +-DIR2---DIR3
        |            +-DIR4
        |-XYZ---NEWABC---DIR1
        +-PDQ          +-DIR2---DIR3
                              +-DIR4

  All of the files and subdirectories which were originally in the "abc"
  directory are now located in the "newabc" directory (shown in the box).
  Note that the "newabc" directory was created by PKUNZIP because it was
  specified on the command line.


This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson