home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2002 November / VPR0211A.ISO / BIOS / ABIT / kd7ae / kd7ae.exe / abitfae.bat next >
DOS Batch File  |  2000-12-27  |  1KB  |  46 lines

  1. @ECHO OFF
  2. cls
  3. ECHO Please make sure of the following:
  4. ECHO 1) You have made a CLEAN boot from your floopy disk,
  5. ECHO    i.e. NO autoexec.bat and config.sys files are loaded.
  6. ECHO 2) The BIOS file you are trying to upgrade is correct 
  7. ECHO    for your board, otherwise you will get the unknown failure.
  8. IF "%1"==""  GOTO Error_3
  9. ECHO !----------------------------------------------!
  10. ECHO !                                              !
  11. ECHO !Be sure the current PC system is pure without !
  12. ECHO !any resident progarm.                         !
  13. ECHO !                                              !
  14. ECHO !----------------------------------------------!
  15. pause
  16. cls
  17. IF NOT EXIST AWDFLASH.EXE GOTO Error_1
  18. IF NOT EXIST      %1      GOTO Error_2
  19. ECHO !----------------------------------------------!
  20. ECHO !                                              !
  21. ECHO ! !Be sure you are ready to update the BIOS!   !
  22. ECHO !                                              !
  23. ECHO !----------------------------------------------!
  24. pause
  25. AWDFLASH.EXE %1 /py /sn /cd /cp /cc
  26. goto End
  27.  
  28. :Error_1
  29. ECHO No AWDFLASH.EXE!!! or you may have not execute the .EXE file to be a .BIN file  yet.
  30. ECHO Flash Failure !!!
  31. goto End
  32.  
  33. :Error_2
  34. ECHO No %1 file or you may have not execute the .EXE file to be a .BIN file yet.
  35. ECHO !!! Flash Failure !!!
  36. goto End
  37.  
  38. :Error_3
  39. ECHO Command error: No parameters
  40. goto End
  41. :End
  42.  
  43.  
  44.  
  45.  
  46.