echo -off
cls
ver
date
time
echo "  "

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

:flash
AfuEfix64.efi DH410000.102 /p /b /n
if not %lasterror% == 0 then
goto end
endif

fpt.efi -f DH410000.102 -me
if not %lasterror% == 0 then
goto end
endif

Dis_EUP_x64.efi
Fpt.efi -greset

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

cd ..