echo -off
cls
ver
date
time
echo "  "

echo Checking ROM file .....
ChkSHUid_x64.efi 41811297
if not %lasterror% == 0 then
goto end
endif

:flash
AfuEfix64.efi SB860000.100.bin /p /b /n /r
if not %lasterror% == 0 then
goto end
endif

FlashEC64.NSH

:end
echo "  "
echo "Update not sucessful."
echo "  "

cd ..