举报
Local $var1, $var2 Local $str $var1 = RegRead("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName", "ComputerName") $var2 = RegRead("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName", "test") If $var1 Then MsgBox(0, "", "$var1的值不为空") Else MsgBox(0, "", "$var1的值为空") EndIf If $var2 Then MsgBox(0, "", "$var2的值不为空") Else MsgBox(0, "", "$var2的值为空") EndIf
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-8-10 21:45 , Processed in 0.167326 second(s), 23 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2025 Discuz! Team.