home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / memsz331.zip / Source.zip / LANGUAGE.CMD < prev    next >
OS/2 REXX Batch file  |  1995-05-25  |  422b  |  20 lines

  1. @Echo Off
  2. If *%1==* Goto Help
  3. If Exist %1.dll Goto Install
  4. If Exist %1.hlp Goto Install
  5. Goto Help
  6.  
  7. :Install
  8. If Exist %1.dll Copy %1.dll MemSize.dll 1>NUL
  9. If NOT Exist %1.dll Echo Language DLL not found!
  10. If Exist %1.hlp Copy %1.hlp MemSize.hlp 1>NUL
  11. If NOT Exist %1.hlp Echo Language help file not found!
  12. Echo Language %1 activated.
  13. Goto Exit
  14.  
  15. :Help
  16. Echo You forgot to specify a valid language!
  17.  
  18. :Exit
  19.  
  20.