home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
cchsr10b.zip
/
cchsr
/
INSTALL.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-10-11
|
1KB
|
34 lines
/************************************************/
/* Rexx Script to Create Color Chaser v1.x Icon */
/* Color Chaser v1.x created by Scott Russell */
/* Install Script version 10-01-96 */
/************************************************/
call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
call SysLoadFuncs
/*** Set Vars. (Prog Name, Prog Source, OS/2 Boot Drive) ***********************************************/
ProgName = directory()||'\cchsr.exe'
ProgFile = ''
ProgPath = directory()
/*** Verify install paths ******************************************************************************/
rc = SysFileTree(ProgName,ProgCheck,'FO')
if ProgCheck.0 = 0 then do
say '';say 'Error! - Please run the install program from the Color Chaser directory!';say ''
exit
end
/*** Create the Icon ***********************************************************************************/
call SysCls
say ''
say 'Creating an icon for Color Chaser v1.0b. Please wait...'
say ''
RC = SysCreateObject('WPProgram','Color Chaser v1.0b','<WP_DESKTOP>','EXENAME='||ProgName||';PARAMETERS='||ProgFile||';STARTUPDIR='||ProgPath||';MINIMIZED=NO;','R')
if RC = 1 then say 'The icon was created!'
else say 'An error occured and the icon was not created!'
say ''
exit