Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- PKZIP 2.0 Reference Guide - Norton Guide http://www.X-Hacker.org [<<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.


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson