home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Memtest86 / install.bat next >
DOS Batch File  |  2001-05-03  |  1KB  |  42 lines

  1. @echo off
  2. REM  Memtest86 DOS/Windows install script
  3.  
  4. echo   ##############################################################
  5. echo   #                                                            #
  6. echo   #  Memtest-86 Installation                                   #
  7. echo   #  This installation creates a bootable floppy disk.         #
  8. echo   #                                                            #
  9. echo   #  Memtest is a standalone memory test and must be booted    #
  10. echo   #  from a floppy disk.  Memtest cannot be executed under     #
  11. echo   #  DOS or Windows.                                           #
  12. echo   #  NOTE:You will not be able to read from the floppy after   #
  13. echo   #  the test is installed.  This is normal.                   #
  14. echo   #                                                            #
  15. echo   ##############################################################
  16. echo   .
  17.  
  18. REM  Are both files here?
  19. if not exist .\rawrite.exe goto NO_PGM
  20. if not exist .\memtest.bin goto NO_BIN
  21.  
  22. rawrite -f memtest.bin
  23. if ERRORLEVEL == 1 goto ERROR
  24. echo Done!
  25. echo To run Memtest86, leave the floppy in the drive and reboot.
  26. goto EXIT
  27.  
  28. :NO_PGM
  29. echo Error: Can't find "rawrite.exe".  This program must be in the
  30. echo same directory as the install script.
  31. goto ERROR
  32.  
  33. :NO_BIN
  34. echo Error: Can't find "memtest.bin".  This file must be in the
  35. echo same directory as the install script.
  36. goto ERROR
  37.  
  38. :ERROR
  39. echo Installation failed!
  40.  
  41. :EXIT
  42.