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

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

  
/* Enumerates all startup commands on a computer, including those found in the Startup folder and those found in the Registry */
strcomputer = "."
objwmiservice = getobject("winmgmts:{impersonationLevel=impersonate}!\\" || strcomputer || "\root\cimv2")
colstartupcommands = objwmiservice~execquery("Select * from Win32_StartupCommand")
DO objstartupcommand OVER colstartupcommands
	SAY "Command:" objstartupcommand~command
	SAY "Description:" objstartupcommand~description
	SAY "Location:" objstartupcommand~location
	SAY "Name:" objstartupcommand~name
	SAY "Setting ID:" objstartupcommand~settingid
	SAY "User:" objstartupcommand~user
END
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Thu 2022-8-18  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2010-07-16 20:49:16