|
可以自动进PE 进行恢复 我是修改 BOOT.SDI 里面X盘的盘符 根据盘符不同做不同的操作
- FDRV *vol S=X:
- FIND $%S%=boot,EXIT
- FILE %ProgramFiles%\CGI\OneKey.ini
- FIND $%S%=W1PE,
- {
- FORX %CurDir%\WINXP.WIM,MyImage,1,
- {
- WRIT "%ProgramFiles%\CGI\OneKey.ini",$+0,[operation]
- WRIT "%ProgramFiles%\CGI\OneKey.ini",$+0,action=restore
- WRIT "%ProgramFiles%\CGI\OneKey.ini",$+0,silent=1
- WRIT "%ProgramFiles%\CGI\OneKey.ini",$+0,[source]
- WRIT "%ProgramFiles%\CGI\OneKey.ini",$+0,%MyImage%|1
- WRIT "%ProgramFiles%\CGI\OneKey.ini",$+0,[destination]
- WRIT "%ProgramFiles%\CGI\OneKey.ini",$+0,DriveLetter=system
- WRIT "%ProgramFiles%\CGI\OneKey.ini",$+0,[miscellaneous]
- WRIT "%ProgramFiles%\CGI\OneKey.ini",$+0,shutdown=0
- WRIT "%ProgramFiles%\CGI\OneKey.ini",$+0,format=1
- WRIT "%ProgramFiles%\CGI\OneKey.ini",$+0,fixboot=0
-
- EXEC=%ProgramFiles%\CGI\CGI.exe
- FILE %ProgramFiles%\CGI\OneKey.ini
- SHUT R
- }
- }
- EXIT
复制代码
|
|