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

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

  
/* Returns a list of startup options for a computer, including the startup delay time and other information found in Boot.ini */
strcomputer = "."
objwmiservice = getobject("winmgmts:{impersonationLevel=impersonate}!\\" || strcomputer || "\root\cimv2")
colstartupcommands = objwmiservice~execquery("Select * from Win32_ComputerSystem")
DO objstartupcommand OVER colstartupcommands
	SAY "Reset Boot Enabled:" objstartupcommand~automaticresetbootoption
	SAY "Reset Boot Possible:" objstartupcommand~automaticresetcapability
	SAY "Boot State:" objstartupcommand~bootupstate
	SAY "Startup Delay:" objstartupcommand~systemstartupdelay
	opts. = objstartupcommand~systemstartupoptions
	DO i OVER opts.
		SAY "Startup Options:" VALUE("OPTS." || i)
	END
	SAY "Startup Setting:" objstartupcommand~systemstartupsetting
END
掌柜推荐
 
 
¥1,420.00 ·
 
 
¥950.00 ·
 
 
¥288.00 ·
 
 
¥738.00 ·
 
 
¥397.00 ·
 
 
¥750.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2010-07-16 20:49:16