echo -off
cls
ver
date
time
echo "  "

cd BIOS
echo Checking ROM file .....
AfuEfix64.efi X50V6000.111 /D
if not %lasterror% == 0 then
goto end
endif

:flash
fpt.efi -f X50V6000.111 -SAVEMAC
if not %lasterror% == 0 then
goto end
endif

Dis_EUP_x64.efi
fpt.efi -greset

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

cd ..