home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1999 January
/
Chip_1999-01_cd.bin
/
zkuste
/
svet_os2
/
HTML_ED
/
HTMLE96B.ZIP
/
INSTALL.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-07-22
|
2KB
|
55 lines
/* REXX Install script */
'@echo off'
version = 'v0.96b'
call RxFuncAdd "SysLoadFuncs", "RexxUtil", "SysLoadFuncs"
call SysLoadFuncs
say "A program icon will be created for HTML-Ed "version" 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 = 'OBJECTID=<HTMLED>;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
do
/*objsettings = objsettings';ASSOCFILTER=*.HTM?'*/
'COPY HTMLED.EA EA.TMP'
'EAUTIL HTMLED.EXE EA.TMP /O /J'
end
say
rc = SysCreateObject('WpProgram', 'HTML-Ed 'version, '<WP_DESKTOP>', objsettings, 'replace')
if rc != 1 then say "Error creating program object!"
else say "Program object created successfully!"
say
say "Do you want to create an object for the HTML-Ed on-line manuals?"
parse pull ian
say
if ian='y' then
do
objsettings = 'OBJECTID=<HTMLED_MANUAL>;EXENAME=VIEW.EXE;STARTUPDIR='startupdir';PARAMETERS=HTMLED.INF;PROGTYPE=PM;MINIMIZED=NO'
rc = SysCreateObject('WpProgram', 'HTML-Ed Manual', '<WP_DESKTOP>', objsettings, 'replace')
if rc != 1 then say "Error creating manual object!"
else say "Manual object created successfully!"
objsettings = 'OBJECTID=<HTMLED_PROGMAN>;EXENAME=VIEW.EXE;STARTUPDIR='startupdir';PARAMETERS=HM-PROG.INF;PROGTYPE=PM;MINIMIZED=NO'
rc = SysCreateObject('WpProgram', "HTML-Ed Programmer's Manual", '<WP_DESKTOP>', objsettings, 'replace')
if rc != 1 then say "Error creating programmer's manual object!"
else say "Programmer's Manual object created successfully!"
end
say
call SysDropFuncs