ZIPPING AND UNZIPPING FILES

 

 

Zipping:

 

Files which fit on one disk (<1.38 MB) -

1) Create a subdirectory with pkzip/pkunzip files in it - call it PKZIP

2) Make sure the pkzip/pkunzip files are in the subdirectory where the file to be zipped is located. If not, copy them from the PKZIP subdirectory.

3) Go to DOS prompt

4) Go to the subdirectory where the file to be zipped is located

- For example: To get to agisw\punjab\mission3, at C prompt type:

cd\agisw\punjab\mission3

5) At subdirectory type: pkzip <file name>.zip <file name>.*

- For example: to zip Atlas water files, type: pkzip water.zip water.*

 

Files requiring more than one disk (>1.38MB) -

 

1) Create a subdirectory with pkzip/pkunzip files in it - call it PKZIP

2) Make sure the pkzip/pkunzip files are in the subdirectory where the file to be zipped is located. If not, copy them from the PKZIP subdirectory.

3) Create an empty subdirectory called ZIP

4) Go to DOS

5) Go to the subdirectory where the file to be zipped is located

- For example: To get to agisw\punjab\mission3, at C prompt type:

cd\agisw\punjab\mission3

6) At subdirectory type: pkzip <file name>.zip <file name>.*

- For example: to zip Atlas water files, type: pkzip water.zip water.*

7) Go back to Windows File Manager

8) Drag and drop the newly created zip file into the empty ZIP subdirectory

- For example: Drag water.zip into the ZIP subdirectory

9) Go back to DOS

10) Go to subdirectory ZIP by typing cd\zip at the C prompt

11) At ZIP subdirectory type: c:\pkzip\pkzip -r -P -& a:<file name>.zip

- For example: To zip water.zip, at the ZIP subdirectory type:

c:\pkzip\pkzip -r -P -& a:water.zip

12) Follow the instructions on the screen

 

ZIPPING AND UNZIPPING FILES

 

 

Unzipping:

 

Files which fit on one disk -

1) While in File Manager, put disk in drive

2) Copy (drag & drop) contents of disk to the subdirectory where you want the

zipped file to be after you unzip it

3) Make sure the pkzip/pkunzip files are in the subdirectory. If not, copy them from the PKZIP subdirectory.

4) Go to DOS

5) Go to the subdirectory where you put the zipped file

For example: To get to agisw\punjab\mission3, type:

cd\agisw\punjab\mission3

6) At the subdirectory, type: pkunzip <file name>.zip

For example: To unzip water.zip, type: pkunzip water.zip

 

Files on more than one disk -

1) Make sure the pkzip/pkunzip files are in the subdirectory where you are going to put the zipped file. If not, copy them from the PKZIP subdirectory.

2) Go to DOS

3) Put first disk of the zipped file in the drive

4) Go to the subdirectory where you want to put the zipped file

For example: To get to agisw\punjab\mission3, type:

cd\agisw\punjab\mission3

5) At the subdirectory type: c:\pkzip\pkunzip -d a:<file name>.zip

For example: To unzip water.zip, type: c:\pkzip\pkunzip -d a:water.zip

6) Follow the directions on the screen.

It will ask you to: a) insert the last disk in the series

b) reinsert the first disk

c) insert the subsequent disks in the series

7) Still at the subdirectory, type: pkunzip <file name>.zip

For example: To unzip water.zip, type: pkunzip water.zip