Drag And Zip version 1.6

Zip Utilities for Windows 3.1 File Manager


What is Drag And Zip.

Drag And Zip is a set or utilities that make Windows 3.1 file manager 
into a complete shell for Zipping and unZipping files.

Drag And Zip makes is very easy to run PKZIP and compress groups 
of files from any Windows file manager that supports "Drag and Drop".

To make a Zip file with Drag And Zip you merely "drag" files from the 
file manager and "drop" them on the Drag And Zip icon, fill out a dialog 
box with the Zip filename and destination directory, and Drag And Zip 
will run PKZIP on them automatically. 

Viewing the contents of a Zip file is as easy as double clicking on the 
file listing in file manager.  The Drag And Zip Zip file viewer, Zip View 
will automatically be loaded and will you show you the contents of the 
Zip file.  You can tag any group of files in Zip View for extraction or 
deletion.  You can view any file with Zip View's built in file viewer or 
the file viewer or your choice and you can temporarily extract any file 
from the Zip file and run it if it is a program or run the program 
associated with it.  If you make modifications to the extracted file, you 
will also have the opportunity to replace the older file currently in the 
Zip file with the modified one.

Also part of the Drag And Zip utilities is Fileman Launcher.  You can 
use this program to run File Manager and Drag And Zip together.  
When you exit File Manager, Drag And Zip will automatically be closed 
at the same time.  If you have other utilities that you like to run with 
File Manager you can also add them to Fileman Launcher and they will 
be run also.  When you exit File Manager, Fileman Launcher will 
attempt to close those programs too.

New to version 1.6 is the option to have the Drag And Zip ICON visible 
at all times so you never have it covered by other applications.

Along with Drag And Zip you need to be running Windows 3.1 or better 
and have your own copies of PKZIP and PKUNZIP.  The Drag And Zip 
Zip viewer can be used to show you the contents of a Zip file but if you 
want to extract any files you will need your own copy of PKUNZIP.


File Listing
A complete copy of the Drag And Zip utilities should include the 
following files:

DRAGNZIP.EXE - 	The Drag And Zip program
ZIPVIEW.EXE - 	The Zip file viewing Program
FMLAUNCH.EXE - 	The Fileman Launcher program
DZSETUP.EXE - 	Setup program for Drag And Zip
DRAGNZIP.WRI - 	Documentation for Drag And Zip in Windows
				Write format
DRAGNZIP.TXT - 	Documentation for Drag And Zip in ASCII
				format
REGFORM.WRI - 	Registration form for Drag And Zip in 
				Windows Write format.
REGFORM.TXT - 	Registration form for Drag And Zip in ASCII
				format
DZ$.BAT - 		Batch file to run PKZIP and PKUNZIP
DZ.PIF - 		PIF file for PKZIP
ZV$.BAT - 		Batch file for running PKUNZIP in the
				background
ZV.PIF - 		PIF file for unzipping files in the background
ZV1.PIF - 		PIF for unzipping files in a window
DZ.INI - 		INI file for Drag And Zip
FMLAUNCH.INI - 	INI file for Fileman Launcher

Installing Drag And Zip
Installation of Drag And Zip and Zip View is very easy with the setup 
program provided.  From Program Manager, choose "File" from the 
menu bar and then choose "Run" from the pull down menu.  In the 
dialog box type the full path where the files are and the program name 
DZSETUP.EXE.  For example if I were installing from drive A:, I would 
enter "A:\DZSETUP.EXE".  If I were installing from the "DZ" directory 
of drive C:, I would enter "C:\DZ\DZSETUP.EXE".

The setup program will ask you what drive and directory you are 
installing Drag And Zip from and what drive and directory you would 
like to install them to.  If the source path is different from the 
destination path, all files will be copied over to the new path.  If they 
are the same, the installation program will assume that you just want 
to modify the installation.  The setup program will then ask you where 
your copies of PKZIP.EXE and PKUNZIP.EXE are.  Setup will then 
ask you for permission to add a line to the "extensions" section of your 
"WIN.INI" file so Windows file manager will know to run Zip View when 
you double click on a Zip file.

If you choose not to have "WIN.INI" modified, you can still run Zip View 
from its Icon in Program Manager and use Zip View's "File" menu to 
load Zip files.

The DZSetup program will then create a program group called Drag 
And Zip and put the Drag And Zip, Zip View and Fileman Launcher 
icons in it.  DZSetup will then give you the opportunity to have Drag 
And Zip load automatically when you start Windows. That way its icon 
will always be at the bottom of your screen when you need it.  If you 
don't choose this option you can use Fileman Launcher to run File 
Manager and Drag And Zip together.  When you exit File Manager, 
Drag And Zip will exit too.  You can also choose to run Drag And Zip 
from its icon in Program Manager.

Using Drag And Zip
When you run Drag And Zip, it will load and show its zipper icon at the 
bottom left of your screen.  Drag And Zip must be running for you to 
use it.  It will not work if you try to drag files to its icon in Program 
Manager.  If you are constantly covering the Drag And Zip icon with 
other applications and then can't find it when you need it, you can 
choose to make the Drag And Zip icon visible all the time.  To do this, 
first load Drag And Zip.  Then, click on its icon and bring up the menu.  
Click on the last selection in the menu, "Always Visible".  That will 
cause the Drag And Zip Icon to show through anything that is trying to 
cover it.  You can turn that option off  the same way.  Click on the Drag 
And Zip icon and bring up the menu.  You will notice that there is now 
a check before the choice "Always Visible".  Click again on "Always 
Visible" and Drag And Zip will stop peeking through applications that 
are covering it.  The state of the Always Visible option will be saved 
when you exit Drag And Zip and will become active the next time you 
run Drag And Zip.

When you want to create a Zip file, run File Manager or any file 
manager that supports Drag and Drop and tag the files that you want 
to Zip.  Than hold  the mouse down on one of the tagged files.  The 
mouse cursor will become a white rectangle with a "+" on it.  Move the 
mouse without taking your finger off the left button to the Drag And Zip 
icon.  While you are moving the mouse, the cursor will become a circle 
with a slash through it.  When the cursor is over the Drag And Zip icon, 
it will once more become a white rectangle with a "+" on it.

Let go of the mouse button.  The Drag And Zip dialog box will pop up 
asking you for a name for the Zip file that you want to create.  You will 
also have the opportunity to add additional command line arguments 
and specify a directory where you want the Zip file to be created.  
When you choose "OK", Drag And Zip will run PKZIP and create the 
Zip file.  If you are running Windows 3.1 in enhanced mode, PKZIP will 
be run in a window.  If you are running in standard mode, PKZIP will 
be run as a DOS application in full screen.  To simply compress the 
files with PKZIP, you will not have to enter anything on the Arguments 
line.  If you do want to specify special command line arguments, you 
can click on the "Args" button to pop up a dialog box with a listing of 
arguments.

The window that PKZIP is running in will stay open until you press a 
key so you will be able to see any messages output by PKZIP.

If you are creating a Zip file in the same directory as the files you 
dragged, File Manager will not automatically update the screen to 
show it.  You will have to click on a different directory and then click on 
the original directory to get File Manager to update its display.

Using Zip View the Drag And Zip Zip file viewer
The easiest way to use Zip View is to double click on a ZIP file in 
Windows 3.1 File Manager or any file manager that supports Drag and 
Drop.  If you've let the setup program put an association line in your 
WIN.INI or if you've put one in yourself, Zip View will be run and will  
show a file listing of the contents of the Zip File in a window.  The 
listing will have the file name, the size in bytes, the date and time of 
the file, the compression method used and if there is a stored directory 
name, Zip View will show that also.  You don't have to close the Zip 
View window to view another Zip file.  Just double click on another Zip 
file and Zip view will show it.  

There are five buttons across the top of the screen.  You can click the 
mouse on them or use the Alt key and the underlined letter on the 
button.  Clicking on a file will move the highlight bar to that file.  You 
can tag any in one of three ways.  
1. Hold down the Ctrl key and click on the file with the left mouse 
button.
2. Click on the file with the right mouse button.
3. First, highlight the file and then press the space bar.
4. First, highlight the file and press the left arrow key.

You can untag the file by doing the same procedure on a tagged file.

A tagged file will have a red arrow at the front of its listing.  Like File 
Manager, Zip View lets you tag a group of files by holding down the 
Shift key and clicking on a file.  You can also tag and untag files with 
the Right and Left Arrow keys respectively.  Use the Ctrl key with the 
arrow keys to tag and untag all the files.  Double clicking on a file will 
extract it and run it if it is a "COM", or "EXE" file or run the program 
that you have associated with the file if it is a data file.  For example if 
you clicked on CHESS.BMP, Zip View would extract CHESS.BMP 
from the parent Zip file and then check what program you have 
associated with it.  Most likely, you have Windows Paintbrush as the 
association file.  Zip View will run the associated program and load up 
CHESS.BMP. as an argument.  When you close the associated 
program or if the file was a program, exit the program, Zip View will 
delete the file.  Before deleting the file, Zip View will check if it has 
been modified.  If it has been modified, you can have Zip View replace 
the older version of the file in the Zip file with the newer modified one.  
Simply click on OK when Zip View asks you if you want to put the 
modified file back into the Zip file.

View
The first button is "View".  Clicking on this or pressing "Alt-V" will have 
Zip View extract the file from the Zip File and load up a file viewer so 
you can see the contents of the file.  Unlike previous versions of Zip 
View.  This version has its own built in file viewer which can accept 
files of unlimited length.  If you would rather use another viewer,  add 
the statement 
"viewer=<path and viewer program name>" under the zipvu
heading in the DZ.INI file found in your Drag And Zip directory.  When 
you close the viewer the file you are viewing will be deleted.  If you 
want the file extracted permanently, you must choose the extract 
button from the button bar.

Delete
You can delete any file or group of tagged files from the Zip file by 
clicking on the "Delete" button or pressing "Alt-D".  Zip View 
accomplishes this by running PKZIP with the "-d" option.  

Run
Clicking on "Run" or pressing "Alt-R" will extract any "EXE" or "COM" 
file from the Zip file and run it.  

Path/CRC"
You can toggle the display to show either the path or the CRC number 
for each files in the Zip file by clicking on the "Path/CRC button.

Extract
To extract (unzip) files from a Zip file, choose the  "Extract" button 
from the button bar.  A dialog box will pop up in which you can enter 
the Zip filename, any special command line arguments and a specific 
output directory.  In the Extract Dialog box there are three radio 
buttons that give you the choice of extracting all the files, just the 
tagged files, or just the highlighted file.   To simply extract files with 
PKUNZIP, you will not have to enter anything on the Arguments line.  
If you do want to specify special command line arguments, you can 
click on the "Args" button to pop up a dialog box with a listing of 
arguments.  

The window that PKUNZIP is running in will stay open until you press 
a key so you will be able to see any messages output by PKZIP.

Change Fonts
Clicking on Fonts will bring up a standard Win 3.1 font dialog box from 
which you can change the default font in Zip View.

Using Zip View Without File Manager
Zip View can also be run alone instead of from Windows File Manager.  
You can use the "File\Load" menu option to choose a Zip file to view.

Using Fileman Launcher
You can have Drag And Zip run automatically when you run File 
Manager by running them both with Fileman Launcher.  Double 
clicking on the Fileman Launcher icon will run File Manager and then 
run Drag And Zip.  When you exit File Manager, you will automatically 
exit Drag And Zip also.  Fileman Launcher comes with its own 
configuration file called FMLAUNCH.INI.  In it you can specify other 
programs to be run with File Manager.  In FMLAUNCH.INI the first 
entry you will see is prog0=c:\dz\dragnzip.exe except the path for Drag 
And Zip will be the one you specified when you ran DZSETUP.  You 
can add up to nine additional programs for Fileman Launcher to run by 
listing them on separate line in FMLAUNCH.INI.  The second program 
will be listed as 
"prog1=<path and program name>", the third as prog2= up unto prog9.  
When you exit Fileman, Fileman Launcher will try to exit all of the 
programs you specified.  Whether Fileman Launcher can successfully 
close the program depends on the way the program responds to 
Fileman Launcher's exit request.

Installing Drag And Zip and Zip View Without the DZSetup 
Program
I've tried to make the setup program easy to use and to make as little 
changes to your Windows system files as necessary.  The files install 
in their own directory and have their own "INI" files.  I have to make 
one change to the "WIN.INI" file so File Manager will know what 
program to run when you double click on a Zip file.

If, however, you'd rather manually install the programs yourself, here's 
how:  
1.  Copy all the files to a directory on your hard disk.
2.  One of these files is called "DZ.INI".  The first line of DZ.INI says 
"[DragAndZip]".  The second line says "zippath=" and then has a path 
name with an ending backslash.  Change that line to have the path 
where your copies of PKZIP and PKUNZIP are and make sure you put 
the closing backslash on the path.
3.  If you want to be able to run Zip View from Window's File Manager, 
you have to add a line to WIN.INI under the "[extensions]" heading.  
You can find WIN.INI in your Windows directory.  The line you need to 
add is "zip=C:\DZ\zipview.exe ^.ZIP".  Instead of the path "C:\DZ" 
substitute the path that you have put your copy of Zip View in.

Getting Help
If you have questions or problems with Drag And Zip, Zip View or 
Fileman Launcher, help is free for all registered users.  I can be reached 
at (415) 453-9779 on CompuServe my ID is 71320,1277 or you can 
write to me:
Dan Baumbach
Canyon Software
1527 Fourth St., Suite 131
San Rafael, CA 94901

