python下的wmi模块介绍之一:输出window注册表自启动项
python下的wmi模块介绍之一:输出window注册表自启动项
#-*- 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)
相关内容
- 暂无相关文章
评论关闭