标题: 求帮忙看看我这批量处理怎么做才能删除UEFI里面的引导、 [打印本页] 作者: chxm1023 时间: 2015-6-11 23:24 标题: 求帮忙看看我这批量处理怎么做才能删除UEFI里面的引导、 :un_bcd
set vid=
set timeout=5
set gname=优元素PE启动盘
set gname2=\chxm
type temp_bcd.txt | find "%gname2%" >nul && goto un_bcd_1
bcdedit /create /d "%gname%" /application bootsector >vid.ini
:un_bcd_1
for /f "tokens=1 delims=:" %%i In ('findstr /n %gname2% temp_bcd.txt') Do (
Set nid=%%i
)
set /a nid=%nid%-3
for /f "skip=%nid% tokens=2" %%i in (temp_bcd.txt) do set vid=%%i&goto un_bcd_2