|
我在这里都是用移动硬盘启动WINPE上网的,所以,用的这个搜狗是外接的,不使用PE的空间,
另外外接的程序还有火狐浏览器,QQ2008,等等软件。
用WINPE.INI加载SYSTEM.CMD:
for %%i in (G: C: D: E: F: H: I: J: K:) do (
if exist %windir%\system32\url.dll goto _regsvr32
if exist %%i\minipe\boot Copy /Y %%i\minipe\boot\*.* %windir%
if exist %%i\MINIPE\system32 copy /Y %%i\minipe\system32\*.* %windir%\system32
)
:_regsvr32
regsvr32 /s dmscript.dll
regsvr32 /s jscript.dll
regsvr32 /s msscript.ocx
regsvr32 /s vbscript.dll
regsvr32 /s wshom.ocx
regsvr32 /s scrrun.dll
regsvr32 /s wshext.dll
Regsvr32 /s folderhighlight.dll
Start COPYFSTQ.EXE /startup
md D:\PE_TEMP\TEMP
md D:\"PE_TEMP\Temporary Internet Files"
for %%i in (%windir%\*.reg) do (
regedit /s %%i
)
del %windir%\*.reg
for %%i in (G: C: D: E: F: H: I: J: K:) do (
if exist "T:\Program Files" goto _copy
subst T: %%i\tools\Progra~1
)
:_copy
copy T:\*.lnk X:\"Documents and Settings"\"Default User"\桌面
PECMD LINK X:\Documents and Settings\Default User\桌面\加载管理,%Windir%\SYSTEM32\WINCMD.EXE,EXEC !%SystemRoot%\system32\MENU.bat,%SystemRoot%\system32\SHELL32.dll,127
START X:\"Documents and Settings\Default User\"桌面\加载管理.LNK
PECMD EXEC !T:\Program Files\SogouInput\install.cmd
regedit /s B:\外置程序\PE_DX_WMP\RealPlayer\real.reg
regedit /s B:\外置程序\PE_DX_WMP\WMP10\wmp.reg
REGSVR32 /s B:\外置程序\PE_DX_WMP\DIRECTX\DX9ivfsrc.ax
PECMD EXEC !%WINDIR%\WIMNT.EXE /REG /MP B:\WIM /TP X:\TEMP
PECMD LINK X:\Documents and Settings\All Users\「开始」菜单\关于WinPE\WIMNT,%WINDIR%\WIMNT.EXE
PECMD REGI HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\SearchHidden=#1 ``勾选搜索选项
PECMD REGI HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\SearchSystemDirs=#1 ``勾选搜索选项
看看。 |
|