如何通过批处理文件访问PC的资源?
有没有办法通过批处理编程(DOS)访问计算机的物理资源,例如内存、处理器速度和系统类型?
Is there a way to access the computer's physical resources like its Memory, Processor Speed and System type through batch programming (DOS)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
wmic 命令可能会满足您的需要。
以下是几个示例:
更多示例:
http://people.virginia.edu/ ~rtg2t/winadmin/wmic.html
http://www.microsoft .com/resources/documentation/windows/xp/all/proddocs/en-us/using_wmic.mspx?mfr=true
http://blog.commandlinekungfu.com/2009 /09/episode-61-just-sit-right-back-youll.html
The wmic command might get you what you need.
Here are a couple of examples:
More Examples:
http://people.virginia.edu/~rtg2t/winadmin/wmic.html
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/using_wmic.mspx?mfr=true
http://blog.commandlinekungfu.com/2009/09/episode-61-just-sit-right-back-youll.html