home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1996 May / PCW596.iso / polskie / cadsoft / robstart / rc_rst.exe / RST.BAT < prev    next >
DOS Batch File  |  1992-09-17  |  2KB  |  61 lines

  1. @Echo off
  2. REM *************************************************************************
  3. REM RoboCAD Batch File                    Copyright (c) 1988 Robocom Ltd
  4. REM *************************************************************************
  5. REM Instalacja polskiej klawiatury i polskich liter
  6. keybcad
  7. cls
  8. grafpol 999
  9. egapl LA +
  10. cls                    :Clear screen
  11. if not exist rc_con.exe goto end    :Test for system menu program
  12. REM *************************************************************************
  13. REM INSTALLATION AND SYSTEM MENU PROGRAM
  14. REM Run Installation or System Menu program
  15. REM RC_CON exit codes allow:    Exit to DOS
  16. REM                       Load an input device and run RoboCAD
  17. REM                       Load no input device and run RoboCAD
  18. REM                Restart this batch file after installation
  19. REM *************************************************************************
  20. :system_menu
  21. RC_CON
  22. if errorlevel 255 goto veryend                :Exit to DOS
  23. if errorlevel 29 goto input_device            :Load an input device
  24. if errorlevel 20 goto cad                :Run RoboCAD
  25. RST                            :Restart if install
  26. REM *************************************************************************
  27. REM ROBOCAD
  28. REM Load the extended character set
  29. REM Run RoboCAD
  30. REM RoboCAD exit codes allow:    Exit to DOS
  31. REM                Return to the system menu
  32. REM *************************************************************************
  33. :input_device
  34. RC_EXEC INP_DEV.BAT
  35. :cad
  36. echo '
  37. echo                    Inicjowanie Systemu RoboSTARTER
  38. echo                            Prosze czekac!
  39. echo '
  40. INIT
  41. if errorlevel 255 goto veryend                :Exit to DOS
  42. goto system_menu                    :Return to menu
  43. REM *************************************************************************
  44. REM Message if installation being tried when current disk is not a:
  45. REM *************************************************************************
  46. :end
  47. echo            System RoboSTARTER jest nieprawidlowo zainstalowany!
  48. echo              Z dyskietki RoboSTARTER SYSTEM wpisz zlecenie RC                        
  49. goto badend
  50. REM *************************************************************************
  51. REM Exit to DOS 
  52. REM *************************************************************************
  53. :veryend
  54. echo            Dziekujemy za prace z systemem RoboSTARTER, CADsoft .
  55. echo 
  56. echo     Zaleca sie restart komputera (w celu zwolnienia z pamieci programów 
  57. echo            rezydentnych).
  58. :badend
  59. 
  60.  
  61.