I’m trying to make a version of a Symantec Ghost boot disk that will automatically check the system model number, and choose which NIC driver is needed for that model. I have everything working except for getting the actual model #. I need to be able to get it even if the hard drive has been completely wiped, since this is running from a dos boot disk.
I’ve tried several commands – wmic, systeminfo – all of which work fine within windows, but I need one that can run in dos mode, and apparently these can’t.
Any ideas on utilities and/or commands that could help me out?
You may be able to write a small piece of code and call the BIOS API directly.
See http://www.cs.ubbcluj.ro/~forest/HtmlFolder/AC/NG/ng897c4.html for an (ancient) example:
This is the wikipedia list of all calls, and I’m pretty sure there will be a function in a compiler of choice (e.g Turbo C etc) that does this too.