|
- @echo off
- if "%1"=="h" goto begin
- start mshta vbscript:createobject("wscript.shell").run("""%~nx0"" h",0)(window.close)&&exit
- :begin
- if /i "%PROCESSOR_IDENTIFIER:~0,3%" == "x86" (
- if exist bcd BOOTICEx86.exe /edit_bcd /easymode /file=bcd
- if exist grldr BOOTICEx86.exe /edit_g4dmenu /file=grldr
- ) else (
- if exist bcd BOOTICEx64.exe /edit_bcd /easymode /file=bcd
- if exist grldr BOOTICEx64.exe /edit_g4dmenu /file=grldr
- )
- if exist bcd.LOG del /a bcd.LOG
复制代码
把批处理,bootice,bcd或grldr放在同-目录。 |
|