The "RP" switch enables you to include subdirectories in the. To use PKZIP to compress a directory called MYDIR and all of its subdirectories and files, enter the following: PKUNZIP A:\ANYNAME.ZIP MYFILE.TXT C:\YOURDIRĮxecution of this command would create a new directory called YOURDIR (if it did not previously exist) and unzip the MYFILE.TXT file into the new YOURDIR directory. To restore (unzip) MYFILE.TXT to a different directory (YOURDIR), you could use the following command format: PKUNZIP A:\ANYNAME.ZIP MYFILE.TXT C:\MYDIR To restore (unzip) MYFILE.TXT to its original directory, you could use the following command format: The compressed filename will be ANYNAME.ZIP.
The file to be compressed is MYFILE.TXT and is in a directory called MYDIR. In the first example, we will compress a single file on your hard drive to a diskette. NOTE: PKZIP/PKUNZIP help screens can be accessed by typing 'PKZIP/?' or 'PKUNZIP/?' at the command prompt. The PKZIP/PKUNZIP examples that follow present a few of the common ways to use these programs. You can use the Recovery files to either restore all of your original software or to restore individual directories and files. These machines include a Recovery directory that contains a compressed image of the software pre-loaded onto the PS/1 and Aptiva personal computers. Another example of how zipped files are used can be found in the IBM PS/1 and early Aptiva models. Most files available for download from bulletin boards and other online services are zipped (compressed) to save space and to reduce download time. Restore pre-loaded, original PS/1 - Aptiva software. Transport data from one machine to another.ĥ. Copy files that are larger than a single diskette (spans multiple diskettes).ģ.
PKWARE COMPRESSION ARCHIVE
Archive data not required to be online.Ģ. Several examples of how you can use zipped files include:ġ. Zipped files typically have a file extension of.
The PKUNZIP program will unzip files compressed by PKZIP. "Unzipping" a file refers to uncompressing a zipped file. Zipping a file refers to a specific method/program used to compress a file. Other programs compress your directories and files by using the command line interface in DOS to "zip" the data to your hard drive or diskette. Operating system data compression programs like IBM PC DOS 7's Stacker 4.0 and MS-DOS 6.22's DriveSpace store data in a compressed format on your hard drive or a diskette and then uncompress the data as it is read into memory.
Data compression is a method used to increase your disk storage capacity. The PKZIP/PKUNZIP programs compress and uncompress your program and data files.
PKWARE COMPRESSION HOW TO
This article discusses how to use the PKZIP and PKUNZIP shareware programs by PKWARE, Inc.