python下的wmi模块介绍之一:输出window注册表自启动项
来源:岁月联盟
时间:2011-07-07
#-*- encoding: utf-8 -*-
Created on 2011-3-1
by hack7th
import wmi
import time
c = wmi.WMI()
for s in c.Win32_StartupCommand ():
print "[%s] %s <%s>" % (s.Location, s.Caption, s.Command)
#-*- encoding: utf-8 -*-
Created on 2011-3-1
by hack7th
import wmi
import time
c = wmi.WMI()
for s in c.Win32_StartupCommand ():
print "[%s] %s <%s>" % (s.Location, s.Caption, s.Command)