USING PKZIP and WINZIP with pc/MRP
15.15.1 PKZIP Overview
This chapter covers the DOS version PKZIP version 2.04 and WINZIP versions 6.63R through 7.0. PKZIP and WINZIP are popular file compression programs that can be used to make
a compressed copy of large database files and even entire directories to
a fraction of their original size. The compressed file can then be copied
to a floppy disk or transmitted by modem. Once the files have reached their destination the can be decompressed and used in their original condition. PKZIP can be obtained at a very
reasonable price from PKWARE Inc. (414)354-8699. WINZIP can be obtained from most any download directory on the internet. (www.download.com, www.zdnet.com/swlib)
15.15.2 Compressing A File With PKZIP
To compress a file, copy the PKZIP.EXE file into the file's directory and
enter:
PKZIP[Zip file name][Name of file to be zipped]PKZIP
For example, to create a PARTMAST.ZIP
file containing a compressed PARTMAST.DBF enter
PKZIP PARTMAST.ZIP PARTMAST.DBF {Rtn}
The PARTMAST.ZIP file will be compressed to less than 10% of it's original
size and is now ready to be copied onto a floppy disk or transmitted over
a modem. If room permits, provide a copy of PKUNZIP.EXE on the floppy disk
so the receiving party will be able to unzip the file as explained below.
15.15.3 Restoring A File With PKUNZIP
To restore a .ZIP file, copy PKUNZIP.EXE file into the same directory
as the compressed file and enter:
PKUNZIP [Zip file name] [Rtn]
In the above example you would enter the following line to restore
the PARTMAST.DBF file to its original size:
PKUNZIP PARTMAST.ZIP [Rtn]
15.15.4 Compressing Multiple Files With PKZIP
To compress multiple files include a file list as shown below:
PKZIP [Zip file name] [Name of files to be zipped] [Rtn]
For example, to compress two files in the pc/MRP directory enter:
PKZIP TWOFILES.ZIP PARTMAST.DBF BOM.DBF [Rtn]
To compress all .DBF files the pc/MRP directory enter:
PKZIP ALLDBF.ZIP *.DBF [Rtn]
To compress every file in the pc/MRP directory enter:
PKZIP ALLPCMRP.ZIP *.* [Rtn]
To compress all .DBF files onto multiple floppy disks (-& span
parameter)
-&
15.15.5 Compressing file(s) with WINZIP
- Go to explorer
- right click on the pcmrpw folder or the files within the pcmrpw folder you wish to zip.
select "Add to Zip"
- Change the Add to Archive text box to read "A:\pcmrpw.zip" (that will automatically add a drop down list box for multiple disk spanning).
- Be sure to check the Save Extre Folder Info box, this allows WINZIP to save and restore the correct directory format.
- Place a disk labeled "pcmrpw.zip Disk 1" in drive A:.
- Click on the "Add" button to begin compressing and transferring files onto the floppy disk.
- This may require several floppies. Be sure to label them in chronological order.
15.15.6 Restoring files with WINZIP
- Start WINZIP
- Select Open
- Put your pcmrpw.zip (Disk 1) into the A: drive
- Select A: drive
- Click on the "Open" button
- Click on the "Extract" button
- Make sure to select "Use Folder Names" button
- Enter the name of the drive where you want the file(s) to be restored to, i.e. c:\
- Click on "Extract"
15.15.7 PKZIP and WINZIP Compatibility
You can compress files with PKZIP and decompress with WINZIP, but you can not compress with WINZIP and decompress with PKZIP.