|
- ENVI^ EnviMode=1
- //DISK ,,,3,U
- EXEC -wd:* -wait %SystemROOT%\System32\wpeinit.exe
- FORX !\PETOOLS\winpe.jpg,&S,1,
- {
- FILE %&S%=>"%SystemRoot%"
- IFEX %SystemRoot%\winpe.jpg, WALL %SystemRoot%\winpe.jpg
- }
- SHEL %SystemRoot%\explorer.exe
- EXEC "%ProgramFiles%\WinXShell\WinXShell.exe" -luacode Screen:Disp()
- EXEC "%ProgramFiles%\WinXShell\WinXShell.exe" -luacode "wxsUI('UI_WIFI',nil,' -theme dark -hidewindow')"
- REGI #HKLM\SYSTEM\Setup\SystemSetupInProgress=0
- SERV -wait netprofm
- EXEC ctfmon.exe
- SERV -wait MSiSCSI
- SERV -wait WebClient
- LINK %Desktop%\DG硬盘分区,%ProgramFiles%\DiskGenius\DiskGenius.exe
- LINK %Desktop%\WinNTSetup 系统安装工具,%ProgramFiles%\NTINS\WinNTSetup_x64.exe
- LINK %Desktop%\UEFI_Legacy 引导修复工具,%ProgramFiles%\NTINS\NT6引导修复.exe
- FORX /S \PETOOLS\Manually\Drivers\*.7z,&7z,1,ENVI &7=z
- FIND $%&7%=, EXEC -wait %SystemRoot%\System32\Drvindex.exe -h
- FORX !\PETOOLS\Built-in\loadtool.wcs,&MyI,1,LOAD "%&MyI%"
- EXEC regedit.exe /s "%ProgramFiles%\7-Zip\7z.reg"
- HOTK #119,kill explorer.exe
- LINK %Programs%\加载外置,pecmd.exe,LOAD "%SystemRoot%\System32\External.ini",shell32.dll#238
- LINK %Programs%\iSCSI 发起程序工具,%SystemRoot%\System32\iscsicpl.exe
- REGI --init $HKLM\HARDWARE\DESCRIPTION\System\CentralProcessor\0\ProcessorNameString,&CPUName
- REGI --init #HKLM\HARDWARE\DESCRIPTION\System\CentralProcessor\0\~MHz,&Hz
- EXEC* -wait -hide -err+ &AvaiMemory=%SystemRoot%\System32\Memhelp.exe meminfo
- MSTR * &TotalMemory,&AvailableMemory=<1><3>&AvaiMemory
- CALC &TotalMemory=%&TotalMemory% / 1M #2
- CALC &AvailableMemory=%&AvailableMemory% / 1G #2
- CALC &Hz=%&Hz% / 1000 #2
- FIND $%&iPOS%>0,ENVI &Hz=%&Hz% GHz
- REGI $HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation\Manufacturer=%&CPUName% %&Hz%
- REGI $HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation\Model=%&TotalMemory% GB (%&AvailableMemory% GB 可用)
- REGI $HKLM\SOFTWARE\Classes\WOW6432Node\TypeLib\{EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}\1.1\0\win64\=%SystemRoot%\SysWOW64\ieframe.dll
- REGI $HKLM\SOFTWARE\Classes\WOW6432Node\TypeLib\{EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}\1.1\HELPDIR\=%SystemRoot%\SysWOW64
- TEAM FILE %public%\Desktop\desktop.ini| FILE %Desktop%\desktop.ini
- ENVI @@DeskTopFresh=2
- EXEC OSInfo.exe
- EXEC "%ProgramFiles%\WinXShell\WinXShell.exe" -regist -daemon
复制代码
稍微调整了一下,
FIND $%&iPOS%>0,ENVI &Hz=%&Hz% GHz
只是这句看上去有问题,前面没找到&iPOS变量
|
|