vs 生成命令 执行程序
We’ve already covered how to take a quick look at the list of installed drivers using DriverView, but what if you are on a machine that doesn’t already have that software installed? There’s a command line utility that comes bundled with Windows Vista or XP that gives you similar output.
我们已经介绍了如何使用DriverView快速查看已安装的驱动程序列表 ,但是如果您所在的计算机尚未安装该软件,该怎么办? Windows Vista或XP附带有一个命令行实用程序,可为您提供类似的输出。
It’s also useful if you are a command line junkie and have cygwin installed… you can just pipe the command through grep and quickly see exactly what you are looking for.
如果您是命令行迷并且安装了cygwin,它也很有用……您可以通过grep传递命令,然后快速准确地查看所需的内容。
Running the command with no parameters will give you the default output:
运行不带参数的命令将为您提供默认输出:
To get verbose output you can use the /v parameter:
要获取详细的输出,可以使用/ v参数:
driverquery /v
驱动程序查询/ v
Or to output in list or csv format instead of the default table format, you can use the /FO switch
或以列表或csv格式而不是默认表格式输出,可以使用/ FO开关
driverquery /FO [list, table, csv]
driverquery / FO [列表,表,csv]
So for instance, if you ran the following command to give you verbose information in list format:
因此,例如,如果您运行以下命令以列表格式为您提供详细信息:
driverquery /FO list /v
driverquery / FO列表/ v
You should see output similar to this:
您应该看到类似于以下的输出:
If you have cygwin installed you could pipe this through grep, but you should be able to pipe the output into a file, for instance like this:
如果您安装了cygwin,则可以通过grep通过管道进行传输,但是应该可以将输出通过管道传输到文件中,例如:
driveryquery > test.txt
driveryquery> test.txt
Always useful to know how to use the command line!
知道如何使用命令行总是很有用的!
vs 生成命令 执行程序