bat-批处理--dos----wmic命令

bat-批处理--dos----wmic命令,第1张

echo off
echo 获取磁盘资料
echo " >1txt
wmic DISKDRIVE get deviceid,Caption,size,InterfaceType>>1txt
echo 获取分区资料:
wmic LOGICALDISK get name,Description,filesystem,size,freespace>>1txt
echo 获取CPU资料:
wmic cpu get name,addresswidth,processorid>>1txt
echo 获取主板资料:
wmic BaseBoard get Manufacturer,Product,Version,SerialNumber>>1txt
echo 获取内存数:
wmic memlogical get totalphysicalmemory>>1txt
echo 获得品牌机的序列号:
wmic csproduct get IdentifyingNumber>>1txt
echo 获取声卡资料:
wmic SOUNDDEV get ProductName>>1txt
echo " >>1txt
set/p q=<1txt
echo %q%
pause

以上就是关于bat-批处理--dos----wmic命令全部的内容,包括:bat-批处理--dos----wmic命令、、等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/web/9399876.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2023-04-28
下一篇2023-04-28

发表评论

登录后才能评论

评论列表(0条)

    保存