|
piziliu2004
中级用户
   过度热情
积分 321
发帖 139
注册 2006-3-21
状态 离线
|
『楼 主』:
如何用vbsi实现读取计算机所有驱动的版本信息
使用 LLM 解释/回答一下
刚遇到一脚本问题.读取计算机所有驱动的版本信息.用scriptomatic2查了老半天.
还是没有查出来. 里面只有读显卡驱动的版本, CPU,AUDIO,PCMCIA.等.都没有说有driverversion这个属性. 郁闷.
用系统自带的,设备管理&系统信息都可以读所有的驱动版本信息. 为什么WMI没有这个方法,属性呢!!.
求各位大虾能否指点如何实现读取计算机所有驱动的版本信息!!!!.
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!!!!
|

知识在于不断积累 |
|
2006-9-19 08:34 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
WMI都无法实现估计就没救了
看sys的版本行不?
It seems that if WMI can't achieve it, there's probably no way out. Let's see the version line of the sys?
|

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>" |
|
2006-9-19 08:56 |
|
|
piziliu2004
中级用户
   过度热情
积分 321
发帖 139
注册 2006-3-21
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
sys是什么?. WMI可能是我没有找到.!.我不敢说确定没有这个检查版本的属性.! 呵呵麻烦各位再帮忙看看.
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.
|

知识在于不断积累 |
|
2006-9-19 08:59 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
试试这个:
filever %WinDir%\System32\Drivers\
filever /?
filever.exe /E] ]
/S Displays files in specified directory and all subdirectories.
/V List verbose version information if available.
/E List executables only.
/X Displays short names generated for non-8dot3 file names.
/B Uses bare format (no dir listing).
/A Don't display file attributes.
/D Don't display file date and time.
Try this:
filever %WinDir%\System32\Drivers\
filever /?
filever.exe ]
/S Displays files in specified directory and all subdirectories.
/V List verbose version information if available.
/E List executables only.
/X Displays short names generated for non-8dot3 file names.
/B Uses bare format (no dir listing).
/A Don't display file attributes.
/D Don't display file date and time.
附件
1: filever.rar (2006-9-19 09:56, 6.55 KiB, 下载附件所需积分 1 点
,下载次数: 14)
|

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>" |
|
2006-9-19 09:56 |
|
|
piziliu2004
中级用户
   过度热情
积分 321
发帖 139
注册 2006-3-21
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
你的那个是对文件操作的.读DRIVER文件. 好象不符合读计算机所有标准驱动的版本信息
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.
|

知识在于不断积累 |
|
2006-9-21 05:46 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
|
2006-9-21 08:15 |
|
|
piziliu2004
中级用户
   过度热情
积分 321
发帖 139
注册 2006-3-21
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
不错...........不过这样的话要找所有驱动的文件. WINDOWS\SYSTEM32\DRIVERS下的SYS文件我列出来读了.可是还是有些没有列出来.可能该驱动不在DRIVERS目录下.!
电脑硬件配置不同,要找出所有驱动文件好象很麻烦... 有没有比较简单的方法呢?
对了你帖图的"NV4"参数是什么意思?
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?
|

知识在于不断积累 |
|
2006-9-21 22:38 |
|
|
piziliu2004
中级用户
   过度热情
积分 321
发帖 139
注册 2006-3-21
状态 离线
|
|
2006-9-21 22:44 |
|
|
3742668
荣誉版主
      
积分 2013
发帖 718
注册 2006-2-18
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
方法1(只能获得驱动程序文件的路径以及名称):
driverquery /fo list /v | findstr /i "路径"
当然,也可以在findstr的查询字符中把 "显示名" 也加上。
方法2(可以获得驱动程序文件的版本,需要用for分离):
先把驱动相关信息收集到 驱动.nfo
start msinfo32 /categories +swenvsigneddrivers /nfo 驱动
然后用for,type,findstr进行操作。例:
type 驱动.nfo | findstr /i "驱动程序版本"
附: 能不能用dos命令查出电脑的配置
Method 1 (can only get the path and name of the driver file):
driverquery /fo list /v | findstr /i "path"
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
start msinfo32 /categories +swenvsigneddrivers /nfo driver
Then use for, type, findstr to operate. For example:
type driver.nfo | findstr /i "driver version"
Attachment: Can you use DOS commands to find out the computer configuration
|
|
2006-9-21 23:41 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
还是版主厉害,赞一个
Still, the moderator is amazing, give a thumbs up
|

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>" |
|
2006-9-22 01:55 |
|
|
piziliu2004
中级用户
   过度热情
积分 321
发帖 139
注册 2006-3-21
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
強..!. 之前我也是用msinfo但一直沒注意到它有參數.! 呵呵. 慚愧.!
Oh, strong..! I also used msinfo before but never noticed it has parameters.! Hehe. Ashamed.!
|

知识在于不断积累 |
|
2006-9-26 01:47 |
|