What is Drag And Zip? Drag And Zip is a set of utilities that makes Windows 3.1 file manager into a file manager for ZIP and LZH files. With its built in routines to Zip and UnZip files, Drag And Zip makes it very easy to compress files into Zip files and to extract files from Zip files from any Windows file manager that supports "Drag and Drop". Drag And Zip also supports use of your copies of PKZIP and LHA to manage compressed files. To compress a 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 filename and destination directory, and Drag And Zip will make a Zip file out of the selected files. Viewing the contents of a ZIP or LZH file is as easy as double clicking on its listing in file manager. Drag And Zip's ZIP file viewer, Zip View, will automatically be loaded and will show you the contents of the compressed 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 of your choice. You can temporarily extract any file from the compressed file and run it if it is a program, or run the program associated with it if it is a data file. If you make modifications to the extracted file, you will also have the opportunity to replace the older file currently in the compressed file with the modified one. You can also make self-extracting archives. If you have a virus scanner, you can have Drag And Zip scan the files in the archive for possible viruses. There is also a check out feature where you can temporarily extract the files from a ZIP file and give them their own program group to "check them out". Also part of the Drag And Zip utilities is Fileman Launcher. Fileman Launcher installs as a file manager extension and runs Drag And Zip every time you run Windows File Manager or any file manager that supports file manager extensions. When you exit File Manager, Drag And Zip will exit automatically at the same time. Fileman Launcher has its own menu in File Manager. You can use this menu to ZIP files instead of dragging them to the Drag And Zip icon. You can also add other programs to be run with File Manager through the Fileman Launcher menu. To use Drag And Zip you need to be running Windows 3.1 or better. You will also need a copy of ZIP2EXE.EXE if you want to make self-extracting ZIP files. This version of Drag And Zip is designed to be compatible with PKZIP version 2.04 as well as version 1.1. Any other versions of PKZIP may not work properly. To use Drag And Zip to build and extract LZH files, you must have a copy of LHA.EXE. Drag and Zip will not work with LHARC.EXE. 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 FML.DLL- Fileman Launcher DLL ZVZIP.DLL Module for running PKUNZIP ZVLZH.DLL Module for running LHA DZSETUP.EXE - Setup program for Drag And Zip DOSBOX.DLL - Module for running PKZIP in a DOS window DZ.PIF - PIF file for running PKZIP in a DOS window DZ1.PIF- PIF file for running PKZIP in the background ZV.PIF - PIF file for running PKUNZIP in a DOS window ZV1.PIF - PIF file for running PKUNZIP in the background LZ.PIF PIF file for running LHA in a DOS window LZ1.PIF PIF file for running LHA in the background SFX.PIF - PIF for running ZIP2EXE SCAN.PIF PIF for running the virus scanner DZSITEL.WRI - Information on Drag And Zip site licenses DUNZIP.DLL Routines for extracting Zip files. DZIP.DLL Routines for making Zip files 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 Run dialog box, type the full path where the files are, and the program name DZSETUP.EXE. For example, if you were installing from drive A:, you would enter "A:\DZSETUP.EXE". If you were installing from the "DZ" directory of drive C:, you would enter "C:\DZ\DZSETUP.EXE". The DZSetup program gives you two install and two uninstall options. Install options 1. You can install Drag And Zip with Fileman Launcher. Fileman Launcher installs as a file manager extension and runs Drag And Zip every time you run File Manager. Fileman Launcher will also keep Drag And Zip's icon uncovered when you are working in File Manager. Some desktop programs like Norton Desktop load file manager extensions every time they load, so if you are using Fileman Launcher with Norton Desktop, Drag And Zip will run every time NDW runs. 2. You can install Drag And Zip without Fileman Launcher. Without Fileman Launcher, you will have to run Drag And Zip manually when you want to use it. Uninstall options 1. You can remove Fileman Launcher. This option will remove the line from your WINFILE.INI that runs Fileman Launcher whenever you run File Manager. 2. You can completely remove the Drag And Zip installation from your computer. Do not use this option to remove a previous installation of Drag And Zip. It can only be used to remove a copy of Drag And Zip that was installed with this installation program. Installing When you use the DZSetup program to install Drag And Zip it will first ask you which drive and directory you would like to install Drag And Zip to. If the path that you enter is different from the path you are installing Drag And Zip from, all files will be copied over to the new path. If they are the same, the installation program will assume that you only want to make modifications to a currently installed version of Drag And Zip, and not try to copy over the files. DZSetup will then ask you for permission to add lines 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 or an LZH file. If you choose not to have "WIN.INI" modified, you can still run Zip View from its icon in Program Manager and drag files to it or 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 DZSetup icons in it. 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. Creating a Zip File When you want to create a Zip or LZH file, run File Manager or any file manager that supports Drag and Drop, and tag the files that you want to Zip. Then 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 and the Drag And Zip dialog box will pop up. The dialog box will vary a bit depending if you are using the built-in Zip functions or an external copy of PKZIP or LHA. Zip Filename In this field you enter the name of the Zip file that you want to create. Archiver You have the choice of PKZIP or LHA. If you want to change from Drag And Zip's built-in Zipping to an external copy of PKZIP or vice-versa, choose the settings button and make your changes there. Compression If you are creating a Zip file the choices will appear in a drop down combo box. The possible choices will vary depending on what version of PKZIP you are running. Drag And Zip's internal Zipping makes a PKZIP version 2 compatible Zip file. If you are using LHA, there will be 2 radio buttons offering Normal Compression or No Compression. Actions This choice won't appear if you are using an external compression program. If you are using the built-in Zipping, your choices will be Add: This will create a new Zip file or add files to an existing Zip file. Freshen: This will only replace files in an existing Zip file with those selected files that are newer than the files in the Zip file. Update: This is like Freshen but in addition to replacing existing files with newer files, it will also add the files that aren't already in the Zip file. Options Depending on what archiver you are using there will be two or three possible choices. The first choice says "Zip sub directories". This is equivalent to the "-r" argument with PKZIP. When you choose this option, Drag And Zip will not only Zip the files in the directories that you dragged to it, it will Zip any sub directories that are in the directories and any sub directories in the sub directories, compressing all the files in the directory branch. If you are using an external copy of PKZIP there will be a check box that says "Store path names in sub directories". This choice is equivalent to the "-p" option in PKZIP. This option won't save path names of the files in the directories that you dragged, but it will save the path names of the files in the sub directories of the directories that you dragged. The choice "Store all path names" will save the path names of every file that you are Zipping. Command line arguments If you are using the external archive programs PKZIP or LHA there will be a command line arguments field where you can enter any PKZIP or LHA command line argument. If you are unfamiliar with the argument needed to select a special option you can click on the help button and you'll find a complete command line reference in the help file. Span Multiple Disks The external version of PKZIP version 2 allows you to Zip files onto multiple floppy diskettes. And, there is a "Multiple disks" check box to enable this option. When you are Zipping to multiple disks, you also can specify if the disks that you are Zipping to are to be formatted or just erased, and you can specify if they are high density or low density. You can choose any of these options from the drop-down combo box which becomes active when you check the "Multiple disks" box. When you are all finished and click on "OK", Drag And Zip will create the compressed file. If you didn't enter and extension for the output filename, Drag And Zip will append a "ZIP" or "LZH" to it depending on what compression program you are using. If you specify an output directory that doesn't exist, Drag And Zip will let you know, and give you the option to create the directory. The options that you entered into the dialog box will be saved and will be the default the next time you make another archive. Changing Drag And Zip's settings If you want to change any of Drag And Zip's settings you don't have to rerun the DZSetup program. All you have to do is click on Drag And Zip's icon when it is running and a menu will pop up. Choose the "Settings" option from the menu and you will be presented with a dialog box where you can modify all of Drag And Zip's settings. There is also a settings button in the Zipping dialog box. Icon always visible Checking this option will make Drag And Zip's icon visible at all times. This is not necessary if you are running Drag And Zip with Fileman Launcher, as Fileman Launcher will always uncover DZ's icon when you are working in File Manager. Icon stays where last put Checking this option will have Drag And Zip remember the position of its icon when you last ran it. This is not necessary if you are running DZ with Fileman Launcher Built-in Zipping When checked, Drag And Zip will use its built-in Zipping to make a Zip file. PKZIP version 2 or greater It's important that this option be checked if you are running with PKZIP version 2.04, and that it not be checked if you are running with PKZIP version 1.1. That way Drag And Zip can pass the proper commands to PKZIP when it is running it. No other versions of PKZIP are currently supported. Output directory You have two choices of the default output directory that Drag And Zip will enter into the Zip dialogs. One is the current directory, which is the directory that you dragged the files from. The other is the directory that you used the last time that you used Drag And Zip. PKZIP/PKUNZIP location This should contain the directory where your copies of PKZIP and PKUNZIP are. It is not necessary to fill this out if you are using the built-in Zipping and unZipping. You will need to fill this out if you want to make self-extracting Zip files and ZIP2EXE is not on your path. LHA location This should contain the directory where your copy of LHA.EXE is. Icon caption Many users have asked if they could shorten or eliminate the caption under the Drag And Zip icon when it is running. Now you can. Just enter whatever you want in this field and it will appear below Drag And Zip's icon when you run it. Unfortunately, if you choose to make this field blank, Windows will put a blank line under the icon rather than not having a caption at all. Dragging and dropping directories With Drag And Zip, you can drag and drop sub directories just like files. In the Windows file manager, you can only drag directories if you have them listed along with files on the right hand side of the file manager. When a directory is dragged, all the files in the directory will be compressed. If you want to Zip any sub directories in the dragged directory, you can click on "Zip sub directories" and also "Store path names" or "Store all path names". Norton Desktop, PC Tools Desktop and our own file manager Drag And File allow you to drag whole directory branches from the directory tree. If you are dragging a whole directory branch with sub directories from one of these programs, you should not use the "Zip sub directories" option because that would make the directories get Zipped twice. Using Zip View: the Drag And Zip ZIP file viewer The easiest way to use Zip View is to double click on a ZIP or LZH 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, 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. On the bottom left the number of files in the ZIP file will be displayed, as well as their collective size. You can also drag Zip files to the Drag And Zip icon or the Zip icon to view them. Zip View makes it easy to find any file even in a large listing: Just type in the filename. As you type it, the highlight bar will go to that file. An edit window will open up on the bottom left showing you the contents of what you type. You can also just type in a partial filename and use the up and down arrows to scroll through the matches. 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. You can also bring files into Zip View by dragging them to its icon or window or by using Zip View's file menu. There are seven 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 then tag the file so Zip View will know that you want to unZip it. 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. Highlight the file and then press the space bar. 4. 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 will 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 which program you have associated with it. Most likely you have Windows Paintbrush as the associated program. In this case, Zip View will run Paintbrush with CHESS.BMP as an argument. When you close the associated 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. If you double click on a file that has no program associated with it, you will be able to choose from a list of programs to run with it.