舉報
set bcd_path=A:\BOOT\BCD set VhdFile=B:\CWin7-1.vhd for /f "tokens=3" %%g in ('Bcdedit /store "%bcd_path%" /create /d "CWin7 VHD" -application osloader') do set guid=%%g echo {GUID}=%guid% bcdedit /store "%bcd_path%" /set %guid% device vhd="[%VhdFile:~0,2%]%VhdFile:~2%" bcdedit /store "%bcd_path%" /set %guid% path \windows\system32\winload.exe bcdedit /store "%bcd_path%" /set %guid% locale zh-TW bcdedit /store "%bcd_path%" /set %guid% inherit {bootloadersettings} bcdedit /store "%bcd_path%" /set %guid% osdevice vhd="[%VhdFile:~0,2%]%VhdFile:~2%" bcdedit /store "%bcd_path%" /set %guid% systemroot \windows bcdedit /store "%bcd_path%" /set %guid% nx optin bcdedit /store "%bcd_path%" /set %guid% detecthal yes bcdedit -displayorder %guid% /addlast pause
2567288 發表於 2014-3-25 18:21 如果原本的系統 , 像這種情況 第一顆硬碟 , 作業系統是 win7 , 第二顆硬碟有一個 win8 vhd 開機選單
fd3233 發表於 2014-3-25 20:33 太厲害了!!這樣子如果只接把第一顆硬碟抽掉就能以第二顆硬碟開機麼?
本版積分規則 發表回復 回帖後跳轉到最後一頁
小黑屋|手機版|NoName Team 電腦資訊討論區 |網站地圖
GMT+8, 2025-11-5 16:49 , Processed in 0.085330 second(s), 17 queries .
Powered by Discuz! X3.4
© 2001-2017 Comsenz Inc.