home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / os2tex_1.zip / disk1.zip / disk_1 / hlp.cmd < prev    next >
OS/2 REXX Batch file  |  1997-12-29  |  568b  |  39 lines

  1. /**/
  2.  
  3.  
  4. call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
  5. call SysLoadFuncs
  6.  
  7.  
  8. parse arg language texmf source options
  9.  
  10.  
  11.  
  12.  
  13. target = texmf||'\os2tex\bin'
  14.  
  15.  
  16. install = texmf||'\os2tex\install'
  17.  
  18.  
  19. if Pos("InstallFiles", options) > 0 then do
  20.  
  21.    if directory(texmf) = '' then do
  22.       say errdir' - 'texmf
  23.       exit 1
  24.    end
  25.  
  26.    install||'\kdir '||texmf||'\os2tex\bin'
  27.  
  28.  
  29.    if language=049 then
  30.       say "Installiere Hilfe-Dateien"
  31.    else
  32.       say "Installing help files"
  33.  
  34.    install||'\unzip -o '||source||'\hlp.zip'
  35.  
  36. end
  37.  
  38.  
  39.