|
xp不说了,太老了。
win7/8,用grub4dos仿真iso启动,到图形界面SHIFT+F12,用imdisk载入iso继续安装,原版ISO不用解压,随意更替。
shift+f12后,快捷的批处理载入iso
@echo off
for /f "delims=/" %%i in ('dir /a /b /s *.iso') do if exist "%%i" set win7iso=%%i&goto out
echo 找不到ISO文件,按任意键退出...
PAUSE>NUL
EXIT
:out
rundll32.exe setupapi.dll,InstallHinfSection DefaultInstall 132 .\imdisk.inf
imdisk -a -f "%win7iso%" -m #:
exit |
|