|
这段代码添加到PECMD.ini里面这个位置就可以了:
//在桌面显示电脑信息
EXEC WinosInfo.exe
REGI --init $HKLM\HARDWARE\DESCRIPTION\System\CentralProcessor\0\ProcessorNameString,&CPUName
REGI --init #HKLM\HARDWARE\DESCRIPTION\System\CentralProcessor\0\~MHz,&Hz
EXEC* -hide &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
REGI $HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation\Manufacturer=%&CPUName% %&Hz% GHz
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
ENVI @@DeskTopFresh=1
|
|