Contents of the ZOPT.DOC file
ZOPT.EXE - will allow you to easily convert all of your .ARC
files to .ZIP files. It will also ReZip your .ZIP
files to thier maximum compression. It will also check
to see if your .ARC or .ZIP files have any embedded .ZIP
or .ARC files. If it finds any it will convert them to
.ZIP files before zipping the parent file. This will go
on for as many levels as is neccessary.
A log file named 'ZOPT.LOG' will be created in the current
directory. This file will contain the names of the files
converted and how much space was saved by the conversion.
If log file already exist in the current directory, the
new information will be appended to the existing log
PKUNPAK.EXE (or PKXARC.EXE), PKUNZIP.EXE and PKZIP.EXE
(version 0.92) must be in the current directory or your
DOS PATH before you can use ZOPT.EXE.
ZOPT [/s] [drive][filespec] ...
/s do sub-directories (may appear anywhere on the
drive do files on specified drive
path do files in specified directory
ZOPT with no parameters will convert all of the .ARC and
.ZIP files in the current directory.
ZOPT /s will convert all .ARC and .ZIP files in the current
directory and all sub-directories below it.
ZOPT ZIPFILE.ARC will only convert the specified file.
ZOPT *.ARC will only convert .ARC files.
ZOPT *.ZIP will only rezip .ZIP files.
ZOPT B: will do the current directory on drive B:
ZOPT D:\ZIPDIR /s will convert all files in the specified
directory as well as sub-directories below it
on drive D:.
ZOPT D:\*.arc /s will convert all of the .ARC files found on
ZOPT C:\ D:\ E:\ F:\ /S will convert all files found on the
You may copy and distribute this program freely, provided that:
1) No fee is charged for such copying and distribution, and
2) It is distributed ONLY in its original, unmodified state.
If you wish to distribute a modified version of this program, you
MUST include the source code.
If you modify this program, I would appreciate a copy of the new
IN NO EVENT WILL I BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING ANY
LOST PROFITS, LOST SAVINGS OR OTHER INCIDENTAL OR CONSEQUENTIAL
DAMAGES ARISING OUT OF YOUR USE OR INABILITY TO USE THE PROGRAM, OR
FOR ANY CLAIM BY ANY OTHER PARTY.
Hey, its free.
3-30-89 - Added check to make sure .ZIP exist before deleting .ARC
file. This should have been handled by checking PKZIP's
return codes, but it didn't alway work out that way.
If you have any questions, bugs, or suggestions, please contact me
The Software Society BBS
356 E36th St.
Paterson, NJ 07504