Dos命令 - 获取系统信息并存放到D盘下

echo '-------------------总体信息systeminfo-------------------'
systeminfo > D:/SystemInfo_1.txt

echo '-------------------CPU信息-------------------'
wmic cpu get Caption,Name >> D:/SystemInfo_2.txt


echo '-------------------MAC地址信息-------------------'
wmic nic list brief >> D:/SystemInfo_2.txt

echo '-------------------硬盘信息-------------------'
wmic diskdrive get caption,size,status >> D:/SystemInfo_2.txt

echo '-------------------内存信息-------------------'
wmic memorychip get caption,banklabel,capacity >> D:/SystemInfo_2.txt

echo '-------------------dxdiag信息-------------------'
dxdiag /t D:/SystemInfo_3.txt
posted @ 2021-07-27 08:53  zh89233  阅读(152)  评论(0编辑  收藏  举报