讀取系統資訊,例如CPU,MEMORY and BIOS information
ShellExecutewait("ProgressBar.exe")
#include
#include
#include
#include
#include
#include
#include
#RequireAdmin
$WinVerChk = RegRead("HKEY_LOCAL_MACHINE64SOFTWAREMicrosoftWindows NTCurrentVersion", "ProductName")
$fonttype= GUICtrlSetFont(-1, 8, 400, 2, "@Microsoft YaHei")
$fontcolor= GUICtrlSetColor(-1, 0xC0C0C0)
$Form1 = GUICreate("Info-Z_v1.0", 338, 266, -1, -1)
$tab = GUICtrlCreateTab(8, 8, 321, 249)
Systeminfo()
Func Systeminfo()
;System Information
_RunDOS("wmic csproduct get /format:list >> c:System.log")
_RunDOS("wmic bios get /forma