中国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-02 04:42
48,037 topics / 350,122 posts / today 2 new / 48,250 members
DOS批处理 & 脚本技术(批处理室) » How to use vbs to read the version information of all drivers on the computer
Printable Version  1,631 / 10
Floor1 piziliu2004 Posted 2006-09-19 08:34
中级用户 Posts 139 Credits 321
Just encountered a script problem. Read the version information of all drivers of the computer. Spent a long time checking with scriptomatic2. Still didn't find it. There are only reading the version of the graphics card driver, CPU, AUDIO, PCMCIA, etc. There is no driverversion property mentioned. Depressed.

The system's own Device Manager & System Information can read the version information of all drivers. Why doesn't WMI have this method or property!!.
Please ask all experts if you can give pointers on how to achieve reading the version information of all drivers of the computer!!!!
Floor2 electronixtar Posted 2006-09-19 08:56
铂金会员 Posts 2,672 Credits 7,493
It seems that if WMI can't achieve it, there's probably no way out. Let's see the version line of the sys?
Floor3 piziliu2004 Posted 2006-09-19 08:59
中级用户 Posts 139 Credits 321
What is sys?!. WMI might be that I didn't find it.!. I dare not say that I'm sure there is no attribute for checking the version.!. Hehe, trouble everyone to help take a look again.
Floor4 electronixtar Posted 2006-09-19 09:56
铂金会员 Posts 2,672 Credits 7,493
Try this:




Attachments
filever.rar (6.55 KiB)
Floor5 piziliu2004 Posted 2006-09-21 05:46
中级用户 Posts 139 Credits 321
The one you have is for file operations. Reading the DRIVER file. It seems not in line with the version information of reading the standard drivers of all computers.
Floor6 electronixtar Posted 2006-09-21 08:15
铂金会员 Posts 2,672 Credits 7,493
No practice, no voice

Attachments
nv.JPG (30.63 KiB)
Floor7 piziliu2004 Posted 2006-09-21 22:38
中级用户 Posts 139 Credits 321
Not bad...........But in this case, you need to find all driver files. I listed and read the SYS files in WINDOWS\SYSTEM32\DRIVERS, but some are still not listed. Maybe the driver is not in the DRIVERS directory!

The computer hardware configuration is different, and it seems very troublesome to find all driver files... Is there a relatively simple method?
By the way, what does the "NV4" parameter in your picture mean?
Floor8 piziliu2004 Posted 2006-09-21 22:44
中级用户 Posts 139 Credits 321
The attached picture is in the following link
http://zhenlove.com.cn/cndos/fileup/files/3.jpg
By the way, how to attach files in the post? I don't know how to attach files, so I can only use a link, he he
Floor9 3742668 Posted 2006-09-21 23:41
荣誉版主 Posts 718 Credits 2,013
Method 1 (can only get the path and name of the driver file):

Of course, you can also add "display name" in the query character of findstr.


Method 2 (can get the version of the driver file, and need to separate it with for):
First, collect the driver-related information into driver.nfo

Then use for, type, findstr to operate. For example:


Attachment: Can you use DOS commands to find out the computer configuration
Floor10 electronixtar Posted 2006-09-22 01:55
铂金会员 Posts 2,672 Credits 7,493
Still, the moderator is amazing, give a thumbs up
Floor11 piziliu2004 Posted 2006-09-26 01:47
中级用户 Posts 139 Credits 321
Oh, strong..! I also used msinfo before but never noticed it has parameters.! Hehe. Ashamed.!
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023