echo -on

for %i in 0 1 2 3 4 5 6 7 8 9 a b c d e f g h 
	if exist FS%i:\Fpta.efi then
		FS%i:
		if exist flag.txt then 
			cd DmiEditEfi64
			F2-424.nsh
			pause
			RESET
		endif
	endif

	if exist FS%i:\Fpta.efi then
		FS%i:
		echo "flash"  >> flag.txt
		Fpta.efi -y -f "MADN0101.V08T11061226"
		pause
		RESET
		goto: EOF
		echo not find %i
	endif
endfor
:E
