Guidance
指路人
g.yi.org
Software / Reginald / Examples / repository / Desktop Management / Startup and Shutdown / Shutdown.rex

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
/* Shuts down the computer */
strcomputer = "."
objwmiservice = getobject("winmgmts:{impersonationLevel=impersonate,(Shutdown)}!\\" || strcomputer || "\root\cimv2")
coloperatingsystems = objwmiservice~execquery("Select * from Win32_OperatingSystem")
DO objoperatingsystem OVER coloperatingsystems
	objoperatingsystem~win32shutdown(1)
END
掌柜推荐
 
 
¥1,390.00 ·
 
 
¥287.00 ·
 
 
¥410.00 ·
 
 
¥1,380.00 ·
 
 
¥1,080.00 ·
 
 
¥271.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2010-07-16 20:49:16