home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Spezial
/
SPEZIAL2_97.zip
/
SPEZIAL2_97.iso
/
ANWEND
/
ONLINE
/
LYNXOS27
/
LYNXOS27.ZIP
/
setup.cmd
< prev
Wrap
OS/2 REXX Batch file
|
1997-02-13
|
1KB
|
43 lines
/* Setup.cmd - silly REXX setup program */
call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
call SysLoadFuncs
homedir=value('HOME',,'OS2ENVIRONMENT')
if homedir = '' then
do
say 'HOME environment variable not found'
say
say 'Please put a SET HOME=<directory> statement in your config.sys'
return
end
else
say 'HOME directory found'
tmpdir=value('TMP',,'OS2ENVIRONMENT')
if tmpdir = '' then
do
say 'TMP environment variable not found'
say
say 'Please put a SET TMP=<directory> statement in your config.sys'
return
end
else
say 'TMP directory found'
etcdir=value('ETC',,'OS2ENVIRONMENT')
if etcdir = '' then
do
say 'ETC environment variable not found'
say
say 'Please put a SET ETC=<directory> statement in your config.sys'
return
end
else
say 'HOME directory found'
'@lynxcp bookmark.htm 'homedir'/bookmark.htm'
'@lynxcp lynxrc 'homedir'/lynxrc'
'@lynxcp lynx.cfg 'etcdir'/lynx.cfg'
'@lynxcp sendmail.lyx 'etcdir'/sendmail.lyx'
say
say 'Don''t forget to ensure this directory is in the PATH, and remember'
say 'to edit the LYNX.CFG and the Sendmail.lyx files in the 'etcdir' directory!'