home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 9 Archive
/
09-Archive.zip
/
pmzip01.zip
/
install.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-08-01
|
769b
|
34 lines
/************************************************/
signal on halt name SignalHandler /* Exception handler */
call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
call SysLoadFuncs
parse arg NewFileName
if NewFileName="" then
NewFileName="pmzip.exe"
SetupString="TITLE=zipmeister;OBJECTID=<ZIPMEISTER>;ASSOCFILTER=*.ZIP;EXENAME="NewFileName
rc=SysCreateObject("WPProgram",,
NewFileName,,
"<WP_DESKTOP>",,
SetupString)
if rc=0 then
say "Sorry, couldn't create the zipmeister program object"
else do
say "The zipmeister program object has been created on your"
say "OS/2 Desktop. Its object ID is <ZIPMEISTER>."
end
exit
SignalHandler:
call SysCls
say "abnormal error - exiting..."
exit