home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 18 REXX
/
18-REXX.zip
/
zp2exc.zip
/
readme.txt
next >
Wrap
Text File
|
1994-10-19
|
2KB
|
50 lines
ZIP2EXE.CMD
I recently discovered that the newest version of the freeware InfoZIP
UNZIP utility now came with a facility to create a self-extracting
archive. Unfortunately, it isn't quite as intuitive as the ZIP2EXE
program that is included in the shareware PKZip programs for DOS. You
have to use the OS/2 COPY command to append the UNZIPSFX.EXE module to
the front of the .ZIP archive created with InfoZIP.
This REXX Exec is my attempt to automate that process somewhat.
Usage: ZIP2EXE ZipFile
Where ZipFile is the filename of the ZIP file you want to create a
Self-Extracting file from. Default extension is .ZIP if none is given.
Unlike PKWare's ZIP2EXE program, there are no options available. You
cannot use this program to strip off the .SFX header. In order to use
this program, you need to have a copy of the UNZIPSFX.EXE program on
your hard disk somewhere. If you do not have this program, it can be
downloaded from many different sources. I found it on Compuserve in the
OS2USER forum under the name "UNZ512.EXE."
You must have REXX/2 support installed in order for this command to
work. Most likely you do, but if you don't you'll have to run OS/2's
selective install utility and install it.
Finally, you must edit the .CMD file itself. At the beginning of the
program is the following line:
stub = 'C:\PK\UNZIPSFX.EXE'
Update this with the proper information for your system.
I am releasing this program into the public domain. I do ask that if
anyone should make changes to please update the comments at the
beginning of the program, and to please send me a copy of the modified
program. I also ask that you keep the changes restricted to those
facilities that are available to other users for free; in other words,
please don't send out a compiled version of this program as not everyone
owns a REXX Compiler, and I'm not aware of any public domain or freeware
REXX Compilers. On the other hand, if you'd like to rewrite this to use
IBM's freely-available VREXX2 facilities, please do so. I left it a
command line utility to make it as much like the PKWare program that
inspired it.
Jaime A. Cruz, Jr.
October 19, 1994
72267.1372@compuserve.com