@ECHO OFF
cls
ECHO Please make sure of the following:
ECHO 1) You have made a CLEAN boot from your floopy disk,
ECHO i.e. NO autoexec.bat and config.sys files are loaded.
ECHO 2) The BIOS file you are trying to upgrade is correct
ECHO for your board, otherwise you will get the unknown failure.
IF "%1"=="" GOTO Error_3
ECHO !----------------------------------------------!
ECHO ! !
ECHO !Be sure the current PC system is pure without !
ECHO !any resident progarm. !
ECHO ! !
ECHO !----------------------------------------------!
pause
cls
IF NOT EXIST AWDFLASH.EXE GOTO Error_1
IF NOT EXIST %1 GOTO Error_2
ECHO !----------------------------------------------!
ECHO ! !
ECHO ! !Be sure you are ready to update the BIOS! !
ECHO ! !
ECHO !----------------------------------------------!
pause
AWDFLASH.EXE %1 /py /sn /cd /cp /cc
goto End
:Error_1
ECHO No AWDFLASH.EXE!!! or you may have not execute the .EXE file to be a .BIN file yet.
ECHO Flash Failure !!!
goto End
:Error_2
ECHO No %1 file or you may have not execute the .EXE file to be a .BIN file yet.
ECHO !!! Flash Failure !!!
goto End
:Error_3
ECHO Command error: No parameters
goto End
:End