home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Multimed / Multimed.zip / l3fe052.zip / INSTALL.CMD next >
OS/2 REXX Batch file  |  1998-03-26  |  1KB  |  39 lines

  1. /* Create an icon for L3EncFe on the desktop */
  2. /* If you already have an icon for L3EncFe   */
  3. /* please delete this icon before calling    */
  4. /* this program....                          */
  5.  
  6. call RxFuncAdd "SysLoadFuncs","REXXUTIL","SysLoadFuncs"
  7. call SysLoadFuncs
  8.  
  9. say ""
  10. say "*********************************************"
  11. say "*          L3EncFE  - Alpha release         *"
  12. say "*    _____________v0.52____________________ *"
  13. say "*     A front end to L3Enc from Fraunhofer  *"
  14. say "*********************************************"
  15. say ""
  16. say "The installation program will create an icon for L3EncFE on the desktop"
  17. say ""
  18. say "Continue?  (Y/N)"
  19.  
  20. PARSE PULL reply
  21. if reply = "N" | reply = "n" then exit
  22.  
  23. title="L3EncFE v0.52"
  24. classname='WPProgram'
  25. location='<WP_DESKTOP>'
  26. curdir=directory()
  27. result=0
  28.  
  29. result=SysCreateObject(classname,title,location,'PROGTYPE=PM;EXENAME='curdir'\L3EncFE.exe;')
  30.  
  31. if result then
  32.   say "Icon for L3EncFE created..."
  33.   say ""
  34.   say "If you have previous L3EncFE.ini file somewhere inhere - DELETE IT!!"
  35. else do
  36.   say "ERROR - Can not create object!"
  37.   say "Does one already exist??"
  38. end
  39.