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
Dos命令 - 获取系统信息并存放到D盘下