|
7#
楼主 |
发表于 2011-1-17 21:06:21
|
只看该作者
回复 #6 victor888 的帖子
我不是在PECMD.INI文件中运行你的CMD文件的,而是进入到PE后,双击你的CMD文件运行的,
运行过程:
结果:(这次又不同了,不见了D盘)
我的PECMD.INI:
//配置文件开始
FBWF P40 L32 H96
TEAM ENVI W=%SystemRoot%|ENVI WS=%W%\SYSTEM32|ENVI WSD=%WS%\Drivers
TEAM FILE %W%\TXTSETUP.SI*|FILE %WS%\NTOSKRNL.EX*|FILE %WS%\WIN32K.SYS|PATH #%WS%\CONFIG|FILE %WS%\*.*_|FILE %WSD%\*.SY_
TEAM LOGS %W%\PECMD.LOG|PATH %SystemDrive%\TEMP|INIT I|EXEC @PECMD.EXE CALL $SHELL32.DLL,DllInstall,#1,U
TEAM ENVI VV0=HKLM\System\CurrentControlSet\Services|ENVI VV1=System32\Drivers `修正 USB 驱动程序文件路径
REGI %VV0%\USBHUB\ImagePath=%VV1%\USBHUB.SYS
REGI %VV0%\USBCCGP\ImagePath=%VV1%\USBCCGP.SYS
REGI %VV0%\USBEHCI\ImagePath=%VV1%\USBEHCI.SYS
REGI %VV0%\USBOHCI\ImagePath=%VV1%\USBOHCI.SYS
REGI %VV0%\USBSTOR\ImagePath=%VV1%\USBSTOR.SYS
REGI %VV0%\USBUHCI\ImagePath=%VV1%\USBUHCI.SYS
REGI %VV0%\HIDUSB\ImagePath=%VV1%\HIDUSB.SYS
REGI %VV0%\MOUCLASS\ImagePath=%VV1%\MOUCLASS.SYS
REGI %VV0%\MOUHID\ImagePath=%VV1%\MOUHID.SYS
REGI %VV0%\KBDCLASS\ImagePath=%VV1%\KBDCLASS.SYS
REGI %VV0%\KBDHID\ImagePath=%VV1%\KBDHID.SYS
REGI %VV0%\CDROM\ImagePath=%VV1%\cdrom.sys
TEAM HOTK #112,PECMD.EXE `注册热键:F1 帮助
USER WinPE迷你系统,WinPE
REGI HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Settings=@08,00,00,00,01,00,00,00,01,00,00,00,e0,d0,57,00,73,35,cf,11,ae,69,08,00,2b,2e,\12,62,04,00,00,00,20,00,00,00,43,00,00,00
//设置图标的排列形式为图标
REGI HKU\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Applets\Tour\RunCount=#0x0
EXEC !%WS%\WIMTOOL.EXE /Reg
LINK %Programs%\附件\记事本,%WS%\NOTEPAD.EXE
LINK %Programs%\附件\命令提示符,%WS%\CMD.EXE
LINK %Programs%\附件\注册表编辑器,%W%\REGEDIT.EXE
LINK %Programs%\附件\资源管理器,%W%\EXPLORER.EXE,,EXPLORER.EXE,1
LINK %Programs%\附件\画图,%WS%\MSPAINT.EXE
LINK %Programs%\附件\计算器,%WS%\CALC.EXE
LINK %Desktop%\WIMTOOL,%WS%\WIMTOOL.EXE,,WIMTOOL.EXE
LINK %Programs%\克隆工具\通用一键Ghost,%WS%\TONGHOST.EXE
LINK %Programs%\克隆工具\诺顿Ghost,%WS%\Ghost32.exe
LINK %Programs%\克隆工具\Gho映像浏览器,%WS%\GHOSTEXP.exe
LINK %Programs%\克隆工具\Gho网络服务端,%WS%\GhostSrv.exe
LINK %Desktop%\一键Ghost,%WS%\TONGHOST.EXE,,%WS%\TONGHOST.EXE
FIND Explorer.EXE,!TEAM SHEL %SystemRoot%\EXPLORER.EXE|LOGO|TEXT
FORX \MiniPE\WinPE.INI,OP,1,LOAD %OP%
FIND $%OP%=,SUBJ B:
REGI HKU\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Applets\Tour\RunCount=#0x0
`如果不能给 USB 移动存储设备迅速分配盘符或者关机缓慢,请尝试重启 AudioSrv 服务(对于部分 HD 声卡)
TEAM EXEC =PECMD SERV !AudioSrv|SERV AudioSrv
`杀掉无用进程并删掉 X: 盘可删除文件以节省空间
TEAM WAIT 5000|KILL SMSS.EXE|KILL WINLOGON.EXE|FILE %WS%\SMSS.EXE|FILE %WS%\WINLOGON.EXE
TEAM ENVI W=|ENVI WS=|ENVI WSD=|ENVI VV0=|ENVI VV1=
TEAM WAIT 12000|SEND 17_,18_,77_,77^,18^,17^|SEND 17_,18_,77_,77^,18^,17^ `如果 PECMD 托盘图标不显示,请用此命令
LOGS
//配置文件结束
我以前是在“LINK %Desktop%\一键Ghost,%WS%\TONGHOST.EXE,,%WS%\TONGHOST.EXE”这行下面加了一句:RUNS PECMD.EXE EXEC @%WS%\调整盘符错乱.cmd,调整盘符错乱
请指教,谢谢了!
[ 本帖最后由 moneyjin 于 2011-1-17 21:11 编辑 ] |
|