home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l450 / 1.ddi / INSTALL.BAT next >
Encoding:
DOS Batch File  |  1989-11-09  |  1.5 KB  |  60 lines

  1. echo off
  2. cls
  3. if %0 == install goto BAD
  4. if %0 == install.bat goto BAD
  5. if %0 == a:install goto A
  6. if %0 == a:install.bat goto A
  7. if %0 == b:install goto B
  8. if %0 == b:install.bat goto B
  9. goto BAD
  10. :A
  11. echo        ╔═════════════════════════════════════════════╗
  12. echo        ║   MATLAB hard disk installation procedure   ║
  13. echo        ╚═════════════════════════════════════════════╝
  14. echo .
  15. echo Verify that the MATLAB Disk 1 is in drive A:
  16. pause  
  17. echo .
  18. echo Hard disk directory that MATLAB will be installed to is
  19. cd
  20. echo To terminate, press Ctrl-Break. Otherwise,
  21. pause
  22. echo .
  23. echo Copying MATLAB files to the hard disk. . .
  24. mkdir signal
  25. mkdir mex
  26. copy A:*.*
  27. install2 A
  28. exit
  29. :B
  30. echo        ╔═════════════════════════════════════════════╗
  31. echo        ║   MATLAB hard disk installation procedure   ║
  32. echo        ╚═════════════════════════════════════════════╝
  33. echo .
  34. echo Verify that the MATLAB Disk 1 is in drive B:
  35. pause  
  36. echo .
  37. echo Hard disk directory that MATLAB will be installed to is
  38. cd
  39. echo To terminate, press Ctrl-Break. Otherwise,
  40. pause
  41. echo .
  42. echo Copying MATLAB files to the hard disk. . .
  43. mkdir signal
  44. mkdir mex
  45. copy B:*.*
  46. install2 B
  47. exit
  48. :BAD
  49. echo Can't install.
  50. echo The default drive must be a hard disk.
  51. echo The floppy drive must be A: or B:.
  52. echo .
  53. echo To install MATLAB:
  54. echo .
  55. echo    1) Create a new directory called C:\MATLAB
  56. echo    2) Set it to your current directory with CD \MATLAB
  57. echo    3) Execute x:INSTALL where x is the name of the 
  58. echo       floppy drive with the installation diskette in it.
  59. echo .
  60.