echo -off
if exist fs0:\apps\ntfs.efi then
set test "fs0:"
endif
if exist fs1:\apps\ntfs.efi then
set test "fs1:"
endif
if exist fs2:\apps\ntfs.efi then
set test "fs2:"
endif
if exist fs3:\apps\ntfs.efi then
set test "fs3:"
endif
if exist fs4:\apps\ntfs.efi then
set test "fs4:"
endif
if exist fs5:\apps\ntfs.efi then
set test "fs5:"
endif
if exist fs6:\apps\ntfs.efi then
set test "fs6:"
endif
if exist fs7:\apps\ntfs.efi then
set test "fs7:"
endif
if exist fs8:\apps\ntfs.efi then
set test "fs8:"
endif
if exist fs9:\apps\ntfs.efi then
set test "fs9:"
endif
if exist fsa:\apps\ntfs.efi then
set test "fsa:"
endif
if exist fsb:\apps\ntfs.efi then
set test "fsb:"
endif
load %test%\apps\ntfs.efi
if exist blk0:\win8.vhd then
set test1 "blk0:"
endif
if exist blk1:\win8.vhd then
set test1 "blk1:"
endif
if exist blk2:\win8.vhd then
set test1 "blk2:"
endif
if exist blk3:\win8.vhd then
set test1 "blk3:"
endif
if exist blk4:\win8.vhd then
set test1 "blk4:"
endif
if exist blk5:\win8.vhd then
set test1 "blk5:"
endif
if exist blk6:\win8.vhd then
set test1 "blk6:"
endif
if exist blk7:\win8.vhd then
set test1 "blk7:"
endif
if exist blk8:\win8.vhd then
set test1 "blk8:"
endif
if exist blk9:\win8.vhd then
set test1 "blk9:"
endif
if exist blka:\win8.vhd then
set test1 "blka:"
endif
if exist blkb:\win8.vhd then
set test1 "blkb:"
endif
%test1%
cd EFI
cd Boot
bootx64.efi
启动时仍然需要连接两个优盘,选择 EFI SHELL这项
Windows 10 x64-2015-01-24-09-16-03.png(15.11 KB, 下载次数: 284)