|
-
- @echo off
- color 2F
- echo ---------------------------------------------------------------------------
- echo.
- echo 即将进行全新安装Windows XP SP3系统......
- echo ---------------------------------------------------------------------------
- echo. 本程序帮助你全新安装XP(不能用于从Win2000或者Win98升级安装)
- echo ---------------------------------------------------------------------------
- echo.
- SET /P ST= 请输入 Y (继续安装)或 N (退出安装):
- echo.
- if /I "%ST%"=="Y" goto ST
- if /I "%ST%"=="N" goto EX
- goto EX
- :ST
- cls
- echo ---------------------------------------------------------------------------
- echo.
- echo 即将进行全新安装Windows XP SP3系统......
- echo.
- echo ---------------------------------------------------------------------------
- SET /P drive_letter= 请输入你要选择安装的分区(C/D/E/F...)
- echo.
- if /I "%drive_letter%"=="" goto ST
- if /I not "%drive_letter%"=="" goto IN
- :IN
- echo ---------------------------------------------------------------------------
- @echo 今天是 %date%
- @echo 现在是北京时间 %time%
- pause
- .\i386\winnt32 /syspart:%drive_letter% /dudisable /s:.\i386 /unattend:.\i386\winnt.sif /makelocalsource /tempdrive:%drive_letter%
- echo ---------------------------------------------------------------------------
- echo.
- echo 停止安装Windows XP SP3系统......
- echo.
- echo ---------------------------------------------------------------------------
- pause
复制代码
硬盘安装使用syspart:%drive_letter%或拔掉U盘再装~
这里看看!
http://bbs.wuyou.net/forum.php?mod=viewthread&tid=153159&extra=&page=3 |
|