home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 July / CHIP797.ISO / workshop / doc / modwsh20.exe / PKUNZIP.TXT < prev    next >
Encoding:
Text File  |  1995-01-03  |  6.7 KB  |  143 lines

  1.  
  2.           H O W   T O   U N Z I P   Z I P P E D   F I L E S
  3.           
  4.           A zipped file is a file or a collection of files
  5.           compressed into a smaller space. So, a zipped file is a
  6.           compressed file, and people zip files to save hard drive
  7.           space. Files that have a .ZIP extension are usually
  8.           zipped using a program called PKZIP. Files with the .ZIP
  9.           extension are unusable until you unzip them with a
  10.           shareware program called PKUNZIP.EXE. In other words, you
  11.           can't get to the goodies unless you unzip'em. It is
  12.           usually best to unzip zipped files on the hard drive
  13.           where they will have plenty of room to expand. It is not
  14.           unusual for a zipped file to be one-half to one-third the
  15.           size of the original file. When using a modem, you will
  16.           find that most Bulletin Board Systems (BBSs) store their
  17.           files in zipped format.
  18.           
  19.           If you obtain the unzipping program from a shareware
  20.           vendor, it may be in the form of a self-extracting file.
  21.           A self-extracting file is also a compressed file. When a
  22.           self-extracting file is run, other files pop out (or
  23.           emerge) from it. It is best to run a self-extracting file
  24.           from the hard drive, so it will have plenty of space to
  25.           expand. Sometimes, if you try to run a self-extracting
  26.           file from a floppy disk, the disk fills up before all the
  27.           files can pop out. New computer users often make this
  28.           mistake. If you make this mistake and do a directory on
  29.           the disk, you will see that there is not enough space
  30.           left on the floppy disk.
  31.           
  32.           If you order PKUNZIP from a shareware vendor and do a
  33.           directory on the disk, you may see only one file called
  34.           PKZ204G.EXE. The version number changes periodically. You
  35.           will want the latest version to insure compatibility.
  36.           This is a self-extracting file, so you will want to copy
  37.           it to your hard drive before you run it. When you run the
  38.           self-extracting program PKZ204G.EXE, a file called
  39.           PKUNZIP.EXE will pop out of it, and other files, too. For
  40.           our example you will want to have a copy of PKUNZIP.EXE
  41.           on a floppy disk. For this example make a temporary
  42.           directory on your hard drive called C:\TEMP. At the C>
  43.           type:
  44.           
  45.                                 cd \<ENTER>
  46.           
  47.           This takes you to the root directory of the C drive. Then
  48.           make a directory using the MD command:
  49.           
  50.                                 md \temp <ENTER>
  51.           
  52.           Now place a disk that contains PKUNZIP.EXE in the floppy
  53.           drive A and type:
  54.           
  55.                          copy a:pkunzip.exe c:\temp <ENTER>
  56.           
  57.           PKUNZIP.EXE will be copied from the A drive to the TEMP
  58.           subdirectory on the C drive. Next, copy the file or files
  59.           that need to be unzipped to that directory. Put the disk
  60.           which has the zipped file that you want to unzip in drive
  61.           A and type:
  62.           
  63.                          copy a:filename.zip c:\temp <ENTER>
  64.           
  65.           In the above example filename is the name of the zipped
  66.           file, and ZIP will be the extension. If there are
  67.           numerous zipped files on the A drive that you wanted to
  68.           unzip, you could copy them all to C:\TEMP by issuing the
  69.           following command: COPY A:*.ZIP C:\TEMP <ENTER>. Note
  70.           that PKUNZIP.EXE and the file or files that need to be
  71.           unzipped are now in the same subdirectory (C:\TEMP) on
  72.           the hard drive. Now switch over to C:\TEMP to unzip the
  73.           file(s) with a .ZIP extension.
  74.           
  75.           At the C> type:
  76.                          
  77.                                 cd \temp <ENTER>                  
  78.              
  79.           
  80.                                 dir <ENTER>
  81.           
  82.           When you issue the DIR command, you should see
  83.           PKUNZIP.EXE and the file or files with the ZIP extension
  84.           that you are going to unzip. Then type:
  85.                                         
  86.                                 pkunzip filename <ENTER>
  87.           
  88.           In this example, filename is the name of the zipped file.
  89.           If the file was named PINBALL.ZIP, you would have typed:
  90.           PKUNZIP PINBALL <ENTER>. A file or files will pop out of
  91.           the zipped file. ZIP-ITY-DO-DA! It's like popcorn. Those
  92.           files explode out of the original file! Don't be alarmed
  93.           if you see EXPLODING... or INFLATING... on your screen
  94.           when you unzip. This is normal. You can then run the
  95.           files that appear in the usual manner. You will not have
  96.           to unzip them again. If you have room, you can copy the
  97.           files to a floppy disk or somewhere else on your hard
  98.           drive. You may want to delete the file with the .ZIP
  99.           extension in C:\TEMP at this time to save room on your
  100.           hard drive. 
  101.           
  102.  
  103.           SUMMARY
  104.           
  105.           HOW TO UNZIP ZIPPED FILES
  106.           
  107.           1.      Make a directory on your hard drive using the MD
  108.                   command.
  109.           
  110.           2.      Copy the file with the .ZIP extension (the file 
  111.                   you want to unzip) to the directory you just made 
  112.                   in Step 1.
  113.           
  114.           3.      Copy PKUNZIP.EXE to the directory you made in   
  115.                   Step 1.
  116.           
  117.           4.      Change to the directory you made in Step 1. This
  118.                   makes it the active directory. It should now
  119.                   contain PKUNZIP.EXE and the file you want to    
  120.                   unzip.
  121.           
  122.           5.      Type:
  123.                            pkunzip filename <ENTER>
  124.           
  125.                   Note that filename is the name of the file that 
  126.                   you want to unzip. This file will have a .ZIP
  127.                   extension. For example, if you had a file called
  128.                   CHESS.ZIP, you would type: PKUNZIP CHESS <ENTER>
  129.           
  130.           
  131.           
  132.           TIP
  133.           
  134.           You can unzip zipped files from any directory when
  135.           PKUNZIP.EXE is in a directory that is in your computer's
  136.           PATH. Then you can eliminate Step 3 above. Why not make
  137.           a directory called C:\UTILS and copy PKUNZIP.EXE to it?
  138.           For help on how to set your PATH, get my book, Learning
  139.           DOS for the Complete Novice, 2nd edition, by Steven Woas,
  140.           published by Celestial Press.
  141.  
  142.           =========================================================
  143.