set efiname64 "jr64befi"(这是64位的引导文件名,本人这样命名,可随意改,需对应放入efi引导项文件名,后缀就是efi)
set efiname32 "jr32befi"(这是32位的引导文件名,本人这样命名,可随意改,需对应放入efi引导项文件名,后缀就是efi)
echo Seach for "%efiname64%.efi"...
for %b in fs0 fs1 fs2 fs3 fs4 fs5 fs6 fs7 fs8 fs9
echo Seaching %b ...
if exist %b:\%efiname64%.efi then
echo %efiname64% found in %b:!
%b:
%efiname64%
if not %lasterror% == 0 then
%efiname32%
endif
exit
endif
endfor