中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-26 22:03
47,812 topics / 349,912 posts / today 2 new / 48,264 members
其它操作系统综合讨论区 » Commands to get hardware information in CMD! Asking you all?
Printable Version  3,726 / 17
Floor1 hymm2008 Posted 2006-09-09 01:41
初级用户 Posts 43 Credits 102
Is there a command in CMD to get hardware information or a program that can be called via the CMD command line to get hardware information? For example: hard disk serial number or features, etc.

Please teach everyone!
Floor2 hymm2008 Posted 2006-09-09 04:16
初级用户 Posts 43 Credits 102
No one pays attention to me, so I'll bump it. Is it that no one knows? I also think that's not very likely.
Floor3 wl00560 Posted 2006-09-09 04:35
银牌会员 Posts 709 Credits 1,384
I don't know about the call, but systeminfo can find some system information.
Floor4 hymm2008 Posted 2006-09-09 05:08
初级用户 Posts 43 Credits 102
Thanks wl00560
Finally someone replied to me
Floor5 9527 Posted 2006-09-09 05:15
银牌会员 Posts 438 Credits 1,185 From 北京
wmic computersystem list full
Floor6 hymm2008 Posted 2006-09-09 05:18
初级用户 Posts 43 Credits 102
systeminfo is not available in WIN2000. Copying it over doesn't work either.
Floor7 9527 Posted 2006-09-09 05:19
银牌会员 Posts 438 Credits 1,185 From 北京
Yeah, only the XP system has it built-in, heh... WMIC is also like that. In this way, the most convenient way is to use third-party tools to solve it
Floor8 hymm2008 Posted 2006-09-09 05:34
初级用户 Posts 43 Credits 102
Originally posted by pip at 2006-9-9 05:19:
Yeah, only the XP system has it built-in, heh.........WMIC is also like that, so the most convenient way is to rely on third-party tools to solve it


Yeah, I don't know if there are other experts who know if there are any others...
Floor9 electronixtar Posted 2006-09-09 06:31
铂金会员 Posts 2,672 Credits 7,493
Floor10 willsort Posted 2006-09-09 10:12
元老会员 Posts 1,512 Credits 4,432
Re hymm2008:

Indeed, as Brother electronixtar said, you can use debug to check the CMOS data mapped by the BIOS in memory, which should include all hardware information data that the BIOS can recognize. However, the calculation of the data address is relatively complicated, and it may not be applicable to all BIOS versions.

As for obtaining the feature sequence from the command line, you can consider using ipconfig /all to obtain the physical address of the local network card, or use dir to obtain the volume serial number of all visible disks on the local hard drive.
Floor11 hymm2008 Posted 2006-09-10 03:23
初级用户 Posts 43 Credits 102
Originally posted by willsort at 2006-9-9 10:12:
Re hymm2008:

Indeed, as brother electronixtar said, you can use debug to check the CMOS data mapped by the BIOS in memory, which should include all hardware information data that the BIOS can recognize. Well..



Ask the moderator, will the volume serial number of all visible disks on the local hard drive change after formatting? I think it will change. As for the NIC MIC code obtained by ipconfig /all, it can also be changed. Debug is a bit too complicated. Is there any way to obtain some unchanging characteristics of the hardware?
Floor12 namejm Posted 2006-09-10 06:23
荣誉版主 Posts 1,737 Credits 5,226 From 成都
If the LZ (楼主) can state the purpose of obtaining the hard disk features, there might be a better way to work around it.
Floor13 hymm2008 Posted 2006-09-10 08:35
初级用户 Posts 43 Credits 102
Originally posted by namejm at 2006-9-10 06:23:
  If the owner of the post can state the purpose of obtaining the hard disk features, there may be a better alternative approach.


Because the programming needs to refer to relevant information in this regard. Brother namejm, do you have any good methods?
Floor14 namejm Posted 2006-09-10 09:39
荣誉版主 Posts 1,737 Credits 5,226 From 成都
You said that the statement about referring to it for programming is too vague, which is difficult to answer. However, I also don't understand hardware or programming in other languages. Looking forward to experts coming to help.
Floor15 mobo Posted 2006-09-18 09:09
初级用户 Posts 30 Credits 73
::Use WMI Alias to Get PC Main Information.bat
::Use WMI Alias to Get Main Information, Output as Web Page Format
::--------by MOBO[Mobo] at 2006-09-16:
wmic baseboard list brief /format:hform >MyPC.htm
wmic cpu list full /format:hform >>MyPC.htm
wmic bios list brief /format:hform >>MyPC.htm
1 2  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023