@echo -off

set BIOSNAME NH5XHP
set BIOSVER  P3
set ALLBIOSROM  %BIOSNAME%.bin
set BIOSEXE  %BIOSNAME%.efi
                                   
if '%1' == '' then     									
goto flash  												
endif   													
set ALLBIOSROM %1     										
:flash  													
# Check the file exist or not.  							
if not exist %ALLBIOSROM% then   							
 echo The %ALLBIOSROM% doesn't exist.    					
 goto end   												
endif   													
fpt -f %ALLBIOSROM% -desc    				          
fpt -f %ALLBIOSROM% -me                  
fpt -f %ALLBIOSROM% -gbe -savemac  

%BIOSEXE%   		
:end    													
@echo -on
