@echo -off
set BIOSNAME NH5XHP
set BIOSVER  P3
set BIOSEXE  %BIOSNAME%.efi
#Tool Name  OPTION ME(TXE) VERSION     [OPTION2]-C CHECK -Y ALWAYS MESET		    	    
CkMEver.efi -mecmp 0015.0000.0035.1898 -Y      									
if %Lasterror% == 0 then      												
 goto flash       		    												
endif     																	
if %Lasterror% == 1 then      												
 goto meset       		    												
endif 																		
if %Lasterror% == 2 then      												
 goto meset       		    												
endif 																		
if %Lasterror% == 3 then      												
 goto lerror       		    												
endif 																		
:flash  			    														
%BIOSEXE%       						
 goto end       		    													
:meset    																	
 MeSet.efi -t7  			    											    
 goto end     																
:lerror   																	
@echo Tool Report Get Me Version Error										
 goto end     																
:end    			    														
@echo -on         															
