|
Shell 切换部分脚本:
`************************************************************************************************************************
_SUB SetList1
BROW Shell,,,EXE
FIND $%Shell%=,!ENVI @List1=%Shell%
_END
_SUB SetPEShell
SHEL %List1%
FIND $%List2%=%P1%,PAGE C:\PE_PF.SYS 523 1048
FIND $%List2%=%P2%,PAGE C:\PE_PF.SYS 384 768
FIND $%List2%=%P3%,PAGE C:\PE_PF.SYS 256 512
FIND $%List2%=%P4%,PAGE D:\PE_PF.SYS 384 768
FIND $%List2%=%P5%,PAGE E:\PE_PF.SYS 384 768
FIND $%List2%=%P6%,PAGE F:\PE_PF.SYS 384 768
FIND $%List2%=%P7%,PAGE G:\PE_PF.SYS 384 768
FIND $%List2%=%P8%,
FIND $%RA1.Check%=1,CALL disp800
FIND $%RA2.Check%=1,CALL disp1024
FIND $%RA3.Check%=1,CALL disp1280
FIND $%RA4.Check%=1,CALL disp1440
FIND $%RB1.Check%=1,TEAM ENVI PP=C|CALL SetTemp
FIND $%RB2.Check%=1,TEAM ENVI PP=D|CALL SetTemp
FIND $%RB3.Check%=1,TEAM ENVI PP=E|CALL SetTemp
FIND $%RB4.Check%=1,TEAM ENVI PP=F|CALL SetTemp
FIND $%RB5.Check%=1,TEAM ENVI PP=G|CALL SetTemp
FIND $%RB6.Check%=1,TEAM ENVI PP=H|CALL SetTemp
FIND $%RC1.Check%=1,CALL loadnul
FIND $%RC2.Check%=1,CALL Loaddisplay
FIND $%RC3.Check%=1,CALL Loadaudia
FIND $%RC4.Check%=1,CALL Loadnet
FIND $%RC5.Check%=1,
KILL \%Windows1%
_END
_SUB disp800
DISP W800H600B32F60
_END
_SUB disp1024
DISP W1024H768B32F60
_END
_SUB disp1280
DISP W1280H720B32F60
_END
_SUB disp1440
DISP W1440H900B32F60
_END
_SUB SetTemp
PATH %PP%:\TEMP
REGI HKCU\Environment\TEMP=%PP%:\TEMP
REGI HKCU\Environment\TMP=%PP%:\TEMP
REGI HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\TEMP=%PP%:\TEMP
REGI HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\TMP=%PP%:\TEMP
_END
_SUB Loaddisplay
EXEC "B:\EXT\XP资源\Drivers\启用显声网支持.bat DISPLAY"
_END
_SUB Loadaudia
EXEC "B:\EXT\XP资源\Drivers\启用显声网支持.bat MEDIA"
_END
_SUB CALL Loadnet
EXEC "B:\EXT\XP资源\Drivers\启用显声网支持.bat NET"
_END
_SUB CALL LoadALL
EXEC B:\EXT\XP资源\Drivers\启用显声网支持.bat
_END
_SUB Windows1,L8T8W426H220,WinPE SHELL 设定,,EXPLORER.EXE#1,1
GROU Group1,L8T8W210H50,请选择SHELL
//LIST List1,L16T26W140H20,EXPLORER.EXE|CMD.EXE,,EXPLORER.EXE
LIST List1,L16T26W140H20,EXPLORER.EXE|%ProgramFiles%\ASTON\ASTON.EXE,,EXPLORER.EXE
ITEM Button1,L162T24W48H24,浏览,CALL SetList1
GROU Group2,L8T64W210H50,请选择虚拟内存
ENVI P1=C 盘 (523-1048M)
ENVI P2=C 盘 (384-768M)
ENVI P3=C 盘 (256-512M)
ENVI P4=D 盘 (384-768M)
ENVI P5=E 盘 (384-768M)
ENVI P6=F 盘 (384-768M)
ENVI P7=G 盘 (384-768M)
ENVI P8=不设置虚拟内存分页文件
LIST List2,L16T82W194H20,%P1%|%P2%|%P3%|%P4%|%P5%|%P6%|%P7%|%P8%,,%P8%
GROU Group3,L230T8W180H106,请选择屏幕分辨率
RADI RA1,L240T26W160H20,800x600 (传统显示器),,0,0
RADI RA2,L240T46W160H20,1024x768 (传统显示器),,1,0
RADI RA3,L240T66W160H20,1280x720 (液晶显示器),,0,0
RADI RA4,L240T88W160H20,1440x900 (液晶显示器),,0,0
GROU Group4,L230T120W180H80,请选择临时文件位置
RADI RB1,L240T138W70H20,C:\TEMP,,1,1
RADI RB2,L330T138W70H20,D:\TEMP,,0,1
RADI RB3,L240T158W70H20,E:\TEMP,,0,1
RADI RB4,L330T158W70H20,F:\TEMP,,0,1
RADI RB5,L240T178W70H20,G:\TEMP,,0,1
RADI RB6,L330T178W70H20,H:\TEMP,,0,1
GROU Group5,L8T120W210H80,调用 XP 资源
RADI RC1,L20T138W90H20,不安装驱动,,1,2
RADI RC2,L120T138W90H20,安装显卡驱动,,0,2
RADI RC3,L20T158W90H20,安装声卡驱动,,0,2
RADI RC4,L120T158W90H20,安装网卡驱动,,0,2
RADI RC5,L60T178W120H20,安装声显网驱动,,0,2
TIME Timer1,15000,CALL SetPEShell
_END
//配置文件结束
[ 本帖最后由 玄天 于 2008-5-8 09:32 AM 编辑 ] |
|