home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: WPS_PM
/
WPS_PM.zip
/
dz175pr.zip
/
dzinst.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-10-23
|
1KB
|
46 lines
/* dzinst.cmd */
curdir = directory()
/* Load REXXUTIL */
call rxfuncadd sysloadfuncs, rexxutil, sysloadfuncs
call sysloadfuncs
/* The basic call is listed next. */
/* result = SysCreateObject(classname, title, location, setup) */
call SysCls
Say " You Are installing Dropzone Version 1.7 "
Say " "
Say " Black Pine Development CONNOT be held Responsibled for"
Say " any direct or indirect damage caused by using DropZone!!!"
Say " Installation impies aggreement to these terms."
Say 'Adding Dropzone to your Desktop...'
Say '';Say 'Press Y to add DropZone to The Desktop...';Say '';
parse upper value SysGetKey('NOECHO') with key
If key<>'Y' Then Exit
classname='WPProgram'
title="Dropzone 1.7"
location='<WP_DESKTOP>'
setup='PROGTYPE=PM;EXENAME='curdir'\dropzone.EXE;ICONFILE='curdir'\dropzone.ico;ASSOCFILTER=*.ini'
Call BldObj
say ''
say ' Copyright 1996 Black Pine Development'
Exit
/* Build Object */
BldObj:
call charout ,'Building: 'title
result = SysCreateObject(classname, title, location, setup)
If result=1 Then call charout ,'... Object created!'
Else call charout ,'... Not created! Return code='result
say ''
Say 'Type "DROPZONE" and <Enter> to run and configure Dropzone.';
Return