@echo -off
for %i in 0 1 2 3 4 5 6 7 8 9 A B C D E F
 if exist FS%i:\AR5000-MI2_250206A\AfuEfix64.efi then
set -v DSKDRV FS%i:
    goto Done
echo can not find AfuEfix64.efi....
 endif
endfor

:err
exit /b 0xc000000000000001

:Done
%DSKDRV%
cd AR5000-MI2_250206A
EfiFlash.nsh
