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]

  -P    Preserve specified path names
  -P-   Turn off path storage (used to override configuration file)

  This option and the related -rp option control the storage of pathnames
  with files inside of a .ZIP file.  The -p (lower case) option is used only
  in combination with the -r option as -rp (see -r for more information).

  The -P (upper case) option can be used alone or as a -rP option.  The -P
  option causes PKZIP to store pathnames found on the command line as part
  of a filename specified for compression.  This command will only have an
  effect if a file or files specified either on the command line or in a
  list file have path names.

     pkzip pathtest.zip -P c:\dos\attrib.exe

  In the above command the file "attrib.exe" would be compressed into the
  .ZIP file "pathtest".  Because the -P option was specified, and because
  the path "\dos" was specified as part of the file name, the file will be
  stored as "dos\attrib.exe".  This means that the path name will be
  available for reconstruction during extraction.  Stored path names can be
  seen when the .ZIP file is viewed.

     pkzip path2.zip -P d:\coreldrw\*.cdr

  In this example all files with the "cdr" extension will be placed into the
  .ZIP file "path2", and will have the path "coreldrw\" stored with them.

  This option may be made the default, see PKZIP Configuration.

  If path storage is turned on in the configuration file, you may turn it
  off for a particular command by using the -P- option.

     pkzip mydoc.zip -P- c:\wp51\docs\zoofund.wp


See Also: -r -v

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