Write a Complete List of Device Drivers to a Text File
There are times when you wish you had a list of all the drivers installed on your PC. For example, if your system crashes, it would be nice to have some kind of record of what drivers are in there. More likely, such a list would come in handy if you have to set up your PC from scratch and you want to know which drivers you have to update.
How do you get such a list? Oddly, Windows doesn’t give you any straightforward way to do this. However, you can make your own list by using a script like the one shown in Listing 28.1.
For information on working with scripts, see “Windows Script Host,” ...
Get Windows 8 In Depth now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.