home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l450 / 1.ddi / INSTALL2.BAT < prev    next >
Encoding:
DOS Batch File  |  1989-11-15  |  1.8 KB  |  77 lines

  1. rem MATLAB hard disk installation batch file part II.
  2. if not exist matpak.1 goto errorexit
  3. if not exist %1:lastdisk goto AGAIN2
  4. ren matpak.1 matpak.exe
  5. goto FINISH
  6. :AGAIN2
  7. echo .
  8. echo Please insert MATLAB Disk 2 into drive %1:
  9. pause
  10. if not exist %1:matpak.2 goto again2
  11. copy %1:*.*
  12. if not exist matpak.2 goto errorexit
  13. copy /b matpak.1+matpak.2 matpak.exe
  14. del matpak.1
  15. del matpak.2
  16. if not exist matpak.exe goto errorexit
  17. if exist %1:lastdisk goto FINISH
  18. :AGAIN3
  19. echo .
  20. echo Please insert MATLAB Disk 3 into drive %1:
  21. pause
  22. if not exist %1:matpak.3 goto again3
  23. copy %1:*.*
  24. if not exist matpak.3 goto errorexit
  25. ren matpak.exe matpak.2
  26. copy /b matpak.2+matpak.3 matpak.exe
  27. del matpak.2
  28. del matpak.3
  29. if not exist matpak.exe goto errorexit
  30. if exist %1:lastdisk goto FINISH
  31. :AGAIN4
  32. echo .
  33. echo Please insert MATLAB Disk 4 into drive %1:
  34. pause
  35. if not exist %1:matpak.4 goto again4
  36. copy %1:*.*
  37. if not exist matpak.4 goto errorexit
  38. ren matpak.exe matpak.3
  39. copy /b matpak.3+matpak.4 matpak.exe
  40. del matpak.3
  41. del matpak.4
  42. if not exist matpak.exe goto errorexit
  43. :FINISH
  44. del lastdisk
  45. matpak
  46. if not errorlevel 0 goto errorexit
  47. del matpak.exe
  48. copy sigpak.exe .\signal
  49. del sigpak.exe
  50. copy mexpak.exe .\mex
  51. del mexpak.exe
  52. cd signal
  53. sigpak
  54. if not errorlevel 0 goto errorexit
  55. del sigpak.exe
  56. cd ..\mex
  57. mexpak
  58. if not errorlevel 0 goto errorexit
  59. del mexpak.exe
  60. cd ..
  61. echo .
  62. if not exist atmatlab.exe goto okexit
  63. isat
  64. if not errorlevel 1 goto okexit
  65. echo MATLAB has been successfully installed.  Since you have a machine
  66. echo capable of running ATMATLAB.EXE, we are now going to "tune" the
  67. echo file ATMATLAB.EXE to operate best with your specific computer.
  68. pause 
  69. tuneit -k atmatlab.exe
  70. goto END
  71. :OKEXIT
  72. echo MATLAB has been successfully installed. Execute "MATLAB" to start.
  73. goto END
  74. :ERROREXIT
  75. echo Installation failure.
  76. :END
  77.