home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Current Shareware 1994 January
/
SHAR194.ISO
/
compress
/
zip_go12.zip
/
ZG.DOC
< prev
next >
Wrap
Text File
|
1993-10-01
|
18KB
|
417 lines
ZIP&GO v1.2 (c) 1993
AUTO-ZIP/RUN/BACKUP DIRECTORIES
by Leonard Klafta
REGISTRATION:
ZIP&GO is being distributed as "SHAREWARE", which means that you may use
it for a "reasonable" period of time, but if you find it to be of value
and continue to use it, you must register. The registration fee for
ZIP&GO is $12.00, but if you consider the fee excessive or beyond your
means, a contribution in any amount will be appreciated.
If you send $15.00, you will receive a 3.5" disk that contains the
latest version of ZIP&GO without the annoying "messages" and an added
feature that permits selecting the directory (or directories) in which
to store the zipfiles (zipped directories).
Please send check or money order (U.S. dollars only) to:
Leonard Klafta
656 Brookfield Road
Wichita KS 67206
To print the registration form type: COPY ZG.REG PRN (press ENTER).
COPYRIGHT:
ZIP&GO is copyrighted. This document and the other files comprise the
"software".
The registered version of ZIP&GO may not be copied or distributed, but
you may give copies of the Shareware version of ZIP&GO to others for
their evaluation as long as no fee is charged for the copy. You must
distribute ZIP&GO in its entirety, complete with ALL its documentation
and files. You may not add to, delete, or in any way modify any of the
files. You may post ZIP&GO on electronic bulletin board systems (BBS),
and you are encouraged to do so if you find the program to be useful, as
long as no fee is charged beyond that usually charged for access to the
BBS. Failure to adhere to these conditions is in violation of copyright
law and will subject the violator to all penalties provided by the law.
THERE IS NO WARRANTY OF ANY KIND. THE COPYRIGHT OWNER MAY NOT BE HELD
LIABLE FOR ANY DAMAGES, INCLUDING DAMAGE TO OR LOSS OF SOFTWARE, ANY
LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGE ARISING OUT OF
USE OF OR INABILITY TO USE THE SOFTWARE. BY USING THE SOFTWARE, YOU
AGREE TO THIS.
Page 2
WHAT ZIP&GO DOES:
-increases hard drive space by zipping directories into "ready-to-run"
zipfiles, storing them in directory ZG and then deleting the original
directory and files.
-automatically creates directory ZG if it does not exist.
-runs the zipped program with the command line: ZG DIRNAME, updates the
zipfile and again deletes the directory and its files.
-processes any directory that is a subdirectory of C:\, except for the
root, DOS, and ZG directories (see WHAT ZIP&GO DOESN'T below).
-displays messages at each step which indicate the directory or file
that is being zipped, unzipped, copied, or moved, or if a disk needs to
be inserted or removed. If an error is made on entering the command
line, the program is halted, the mistake and command line used and the
proper syntax are displayed. In addition to the messages, one "beep"
sounds as a reminder to insert or remove a disk, two "beeps" sound if
an incorrect command has been entered, and three "beeps" sound if an
attempt is made to use ZIP&GO with the root, DOS, or ZG directories.
-displays the following prompts when the program has ended:
C:\DIRNAME> if the directory exists
C:\ZG> if the zipfile exists, but not the directory
C:\> if neither exists
-uses optional "switches" that permit restoring the directory from a
zipfile, moving or copying zipfiles to another drive, or leaving the
directory temporarily unzipped for repeated short term use.
-stores zipped directories in a "ready-to-run" state on a floppy disk.
The programs can then be run from drives A or B. Any number of zipped
directories can be placed on a disk up to its capacity.
-zips directories, then splits zipfiles too large to fit on a single
floppy disk, and copies the "splitfiles" to disk(s) on drive A or B (a
prompt indicates when to insert the next disk). The splitfiles can be
recopied to the directory and the directory restored using the same
command line. This "backup/restore" feature can also be used with the
root and DOS directories, permitting backup of the entire hard disk.
Page 3
WHAT ZIP&GO DOESN'T:
-doesn't add to, modify or alter your PC files or configuration, except
to add C:\ZG to the path statement in the AUTOEXEC.BAT file.
-doesn't create any stacked drives.
-doesn't have to be uninstalled to be removed.
-doesn't process hidden, system, or read only files. If you wish to
include these files, you will have to change the attributes of these
files before running ZIP&GO (See using ATTRIBUTES in your DOS manual).
-doesn't process the root, DOS, or ZG directories, because the files in
these directories are essential for running the computer and ZIP&GO and
would be inaccessible if zipped.
NOTE: Some forms of copy protection require that the directory and
its files be found in a certain location after installation.
If they are moved from that location, the program may not run
unless the program is reinstalled. You may wish to exclude
such directories from use with ZIP&GO.
PKZIP:
It is important to understand that as PKZIP processes a directory or
file, it creates a temporary "mirror image" of equal size on the drive.
If there is insufficient hard disk space the program will halt. For
example, to zip or unzip a directory 1MB in size there must be at least
2MB of free space on the hard drive. Therefore, it is important that
there always be available an amount of hard drive space equal to twice
the size (or greater) of the largest directory (in its unzipped state),
that you will process with ZIP&GO.
When drive A or B is used, because of the space required by PKZIP, all
zipping, updating, or unzipping takes place on drive C, then the
zipfiles are copied to or from drive A or B. This takes more time but
is necessary, otherwise, a disk could only contain a zipped directory
about half the size of the disk's capacity.
Remember also, that a zipfile may increase in size with updated data.
It is best to maintain a "cushion" of extra space on a floppy disk to
allow for a size increase. How much "extra space" will depend upon the
type of program and the amount of data created. Some experimentation
will be necessary.
Directories larger than 1.44K in compressed size cannot be stored on a
floppy disk in "ready to run" state, but they can still be backed up to
a disk as can the files in the root and DOS directories (See BACKUP).
Page 4
FILES:
You should have the following files:
DESC.SDI........BBS description file (deleted by setup procedure)
FILE_ID.DIZ.....BBS description file (deleted by setup procedure)
START.EXE.......the setup file (installation)
STARTA.COM......file used internally by ZGSETUP.EXE
STARTB.COM......file used internally by ZGSETUP.EXE
*ZG.COM..........file that runs ZIP&GO
ZG.DOC..........the ZIP&GO manual (can be printed)
ZG.NEW..........the changes in v1.2
ZG.REG..........registration form (can be printed)
ZGDOC.COM.......self running ZG.DOC file
*ZG_S.EXE........file used internally by ZG.COM
Authentic files carry the time stamp of 12:00 am 10/01/93.
Not included, but required files:
*PKZIP.EXE v2.04G
*PKUNZIP.EXE v2.04G
The files marked with the asterisk are those essential for running
ZIP&GO once the setup procedure has been completed.
REQUIREMENTS:
There are no special system requirements. If you can use PKZIP, you
can use ZIP&GO.
Since ZIP&GO's function is to increase hard drive space, a hard drive
is required.
ZIP&GO was created and tested using DOS 5.0. It should work with any
version of DOS above 2.1 (it will NOT work with earlier versions), but
it has not been tested.
Some beta testers reported success in using ZIP&GO works with WINDOWS,
but it has not been extensively tested with WINDOWS.
ZIP&GO may work with the latest version of 4DOS, but will NOT work
with version 4.0 or earlier.
Page 5
SETUP:
To use ZIP&GO, all of the files must be in directory C:\ZG, which must
be in the path. This will all be done for you during the setup
procedure.
If the ZIP&GO files are on a disk in drive A or B, at the DOS prompt use
the appropriate drive letter and type:
A: (ENTER)
START (ENTER)
If the ZIP&GO files are in a directory on drive C, substitute the name
of the directory for DIRNAME and type:
CD\DIRNAME (ENTER)
START (ENTER)
After you have completed the setup procedure, add the files PKZIP.EXE
and PKUNZIP.EXE to directory ZG (or to another directory in the path).
A "target file" must be present in each directory used with ZIP&GO.
If the command word you type to run the program and the directory name
are the same (e.g., QUEST is the command word you enter to run the
program in directory C:\QUEST), you need do nothing more.
If the command word and the directory name are different (e.g., the
directory name is QUEST, but the command word you enter is START), you
must create a "target file" before using ZIP&GO with that directory.
This only needs to be done one time.
If a single program is run from the directory, you need to create a
DIRNAME.BAT file. Substitute the directory name for DIRNAME and the
command word for CWORD and type:
ZG DIRNAME TGT CWORD (ENTER)
All other directories (a directory of multiple programs, e.g. batch
files, or a directory with no command word, e.g., text or data files),
require a DIRNAME.TGT file. At the DOS prompt type:
ZG DIRNAME TGT (ENTER)
For a help screen type: ZG -T (ENTER)
Page 6
RUNNING ZIP&GO:
All commands MUST be entered from the C prompt, even if you wish to
work from drives A or B. ZIP&GO has been written to be used with
lower case, but any case will be recognized. It is not necessary to
be in the directory you wish to process. For a help screen type:
ZG (ENTER)
The initial zipping of a directory can take quite a long time, even
several minutes for large directories, but subsequent unzipping and
updating takes only seconds. You don't have to process the entire
hard drive at one sitting, in fact, you don't have to process the
entire hard drive at all! Process one directory or a hundred, it's
your choice!
Start with a copy of a small directory and practice with it until you
feel comfortable with ZIP&GO. Try using the various switches and the
A or B drives and BACKUP option.
USING DRIVE C:
For a list of commands type: ZG -H (ENTER)
Substitute the directory or zipfile name for DIRNAME.
The default (no drive letter specified) is to drive C and messages
indicate when a directory or file is being zipped or unzipped. If "/z"
is used, or "z" added to the switch letter, each file is displayed on
screen as it is zipped or unzipped. Being able to see that "something
is happening" is helpful, especially with large directories, which can
take several minutes to zip. For this reason it is recommended that
the following command line be use the first time a directory is zipped:
ZG DIRNAME /MZ
Usage: zg dirname [/m(z), /u(z), /z]
zg dirname -Runs the program, creates a zipfile (DIRNAME.ZIP)
dirname /z from the directory (DIRNAME), moves it to the zipdir
(C:\ZG), and then deletes the original directory and
its files.
OR
-Restores the directory from the zipfile, runs the
program, updates the zipfile in C:\ZG, and deletes
the directory and its files.
zg dirname /m -If the directory exists but the zipfile does not, or
zg dirname /mz if both exist, the function is as above, except that
the program is not run.
OR
-If the directory does not exist, but the zipfile does,
the directory is restored and the zipfile is deleted.
zg dirname /u -Unzips a zipfile, runs the program, and updates the
zg dirname /uz zipfile but leaves the directory unzipped. This is
useful for repeated short-term use of a program since
updating a zipfile takes only seconds, and rezipping
takes considerably longer.
Page 7
USING DRIVE A or B:
For a list of commands type: ZG -H (ENTER)
Substitute the zipfile name for DIRNAME, a for drive A, b for drive B.
Usage: zg dirname a
zg dirname [/m(z), /u(z), /x, /z] a (b)
zg dirname a -The function is exactly the same as with ZG DIRNAME,
zg dirname /z a but the program is run from a zipfile on drive A or
B), then the directory and its files are deleted
from drive C after the zipfile on drive A (B) has
been updated.
zg dirname /m a -If the directory exists on drive C, it is moved to a
zg dirname /mz a zipfile in C:\ZG (the directory and its files are
deleted), then the zipfile is moved to a disk on drive
A (B) and the zipfile on drive C is deleted. Use this
option to gain more space by moving your seldom-used
directories from the hard disk, yet still have them in
a ready-to-run state on a floppy disk.
OR
-If the directory does not exist, but the zipfile does,
it is moved to a disk on drive A (B) as above.
OR
-If neither the directory nor the zipfile exist, the
directory is restored on drive C from the zipfile on
drive A (B). Use this option to "restore" a directory
to its original form on drive C.
zg dirname /u a -Restores both the directory and zipfile to drive C.
zg dirname /uz a The program is run and the zipfiles on drive A (B)
and on drive C are updated.
zg dirname /x a -The default is to copy a zipfile from drive C to a
disk on drive A (B), whether or not it already exists.
This a means of "updating" a zipped directory located
on disk. OR -If the zipfile does not exist on drive
C, the zipfile is copied to C:\ZG from drive A (B).
Page 8
BACKUP:
For a list of commands type: ZG -B (ENTER)
Substitute the directory name for DIRNAME, a for drive A, b for drive B.
Usage: zg dirname /ss a [/cs a, /rs]
Zipfiles created with ZIP&GO are essentially ready-to-run backup files.
You can restore any directory backed up to a floppy disk by entering:
ZG DIRNAME /MZ
The files of the root and DOS directories and directories too large to
fit on a floppy disk even when zipped, can still be backed up with
ZIP&GO, though not in a ready-to-run state.
zg dirname /ss a -Creates a zipfile in the directory then splits the
zipfile into "splitfiles" named DIRNAME.1, DIRNAME.2,
etc., 327,680 bytes in size (the last one created may
be smaller). The splitfiles are then automatically
copied to disk(s) on drive A or B (a prompt indicates
when to insert another disk). When all splitfiles
have been transferred, they and the original zipfile
are deleted from the directory. The original files of
the directory are left intact.
NOTE: If the created zipfile is smaller than 82K, it
will not be split, but will be moved to disk as
DIRNAME.ZIP. To restore the directory it will
be necessary to manually create the directory,
move the file to the directory, and then use
PKUNZIP to restore the files.
zg dirname /cs a -Creates the named directory, if it does not exist,
and copies the "splitfiles" from disk(s) to the
directory.
zg dirname /rs -Restores the directory. The directory should contain
ONLY "splitfiles" and ALL of the "splitfiles" for that
directory must be present. The "splitfiles" will be
deleted automatically after the directory has been
restored.
Leonard Klafta
October 1, 1993