home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 9 Archive
/
09-Archive.zip
/
af0_32b.zip
/
install.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-10-03
|
777b
|
45 lines
/**/
call RxFuncAdd "SysLoadFuncs", "RexxUtil", "SysLoadFuncs"
call SysLoadFuncs
Call SysCls
Call Init
Say
Say " AF - The Archive Folder - Installation program"
Say " =============================================="
Say
do i = 1 to lang.0
say " "i". "lang.i
end
say;say " X. Exit"
say
Call charout, " What language do you want to use? ("1"-"lang.0"): "
i = SysGetKey(echo)
say
if i = 'x' | i = 'X' then return
if i > 0 & i <= lang.0 then do
"@call "lang.i".cmd"
end
else say " ERROR: That option is not available!"
return
exists:
arg filename
if stream( filename, 'c', 'query exists') <> ''
then return 1
else return 0
Init:
lang.0 = 2
lang.1 = "English"
lang.2 = "Dansk"
return