home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 31
/
CDASC_31_1996_juillet_aout.iso
/
internet
/
htmle93b.zip
/
INSTALL.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-04-08
|
894b
|
29 lines
/* REXX Install script */
call RxFuncAdd "SysLoadFuncs", "RexxUtil", "SysLoadFuncs"
call SysLoadFuncs
say "A program icon will be created for HTML-Ed v0.93b in this directory."
say "Continue?"
parse pull ian
if ian='n' then exit
if ian='N' then exit
exename = Directory()'\HTMLED.EXE'
startupdir = Directory()
objsettings = 'EXENAME='exename';STARTUPDIR='startupdir';PARAMETERS=%*;PROGTYPE=PM;MINIMIZED=NO;ICONFILE=HTMLED.ICO'
say
say "Do you want to associate *.HTM? files with HTML-Ed?"
say "This will allow you to double-click on an HTML file to launch HTML-Ed."
parse pull ian
if ian='y' then objsettings = objsettings';ASSOCFILTER=*.HTM?'
say
rc = SysCreateObject('WpProgram', 'HTML-Ed v0.93b', '<WP_DESKTOP>', objsettings, 'replace')
if rc != 1 then say "Error creating program object!"
else say "Program object created successfully!"
call SysDropFuncs