Generate a List of Installed Drivers from the Command Line Radīt saraksts Installed Drivers no Command Line
We've already covered how to take a quick look at the Mēs jau esam uz to, kā veikt ātri apskatīt list of installed drivers using DriverView saraksts uzstādītas draiveri, izmantojot DriverView , but what if you are on a machine that doesn't already have that software installed? , Bet kas notiks, ja jums ir uz mašīnu, tas jau nav šīs programmatūras instal? There's a command line utility that comes bundled with Windows Vista or XP that gives you similar output. Tur ir komandrindas utilīta, kas nāk komplektā ar Windows Vista vai XP, kas dod jums līdzīgu produkciju.
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. Tā ir noderīga arī tad, ja jums ir komandrindas junkie un ir cygwin uzstādīta ... jūs varat caurule komandu, caurbraucot grep un ātri redzēt tieši to, ko jūs meklējat.
Running the command with no parameters will give you the default output: Running komanda bez parametriem dos jums default jauda:

To get verbose output you can use the /v parameter: Lai saņemtu runīgs produkciju var izmantot / v parametram:
driverquery /v driverquery / v
Or to output in list or csv format instead of the default table format, you can use the /FO switch Vai uz produkciju sarakstā vai csv formātu, nevis noklusējuma tabulas formātā, jūs varat izmantot / FOR switch
driverquery /FO [list, table, csv] driverquery / FOR [saraksta, tabulas, csv]
So for instance, if you ran the following command to give you verbose information in list format: Tā, piemēram, ja jūs vadīja komandu, kas jums runīgs informāciju saraksta formātā:
driverquery /FO list /v driverquery / FOR saraksts / v
You should see output similar to this: Jums vajadzētu redzēt produkcija ir līdzīgs šim:

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: Ja jums ir cygwin uzstādītas jūs varētu pipe to caur grep, bet jums vajadzētu spēt cauruļu produkcijas failu, piemēram, šādi:
driveryquery > test.txt driveryquery> test.txt

Always useful to know how to use the command line! Vienmēr ir noderīgi zināt, kā izmantot komandrindas!

Daily Email Updates Daily Email Updates
You can get our how-to articles in your inbox each day for free. Jūs varat saņemt mūsu how-to rakstus savā pastkastītē katru dienu par brīvu. Just enter your name and email below: Vienkārši ievadiet jūsu vārdu un e-pasta zemāk:



After i type in “driverquery /v” it runs successfully but i cant enter in any more lines after that. Pēc I tipa "driverquery / v", tas darbojas veiksmīgi, bet nevaru iebraukt jebkurā vairāk līniju pēc tā. (its like my command prompt doesnt respond) (tā, piemēram, mana komanda ātri doesn't atbildes)
Thank you for sharing, very useful Thank you for sharing, ļoti noderīgs
XP has a grep like util called findstr.exe, very useful when combined with the pipe. XP ir grep kā util sauc findstr.exe, ļoti noderīgas, ja kopā ar cauruli. For example: For example:
driverquery /v | findstr /i vmware driverquery / v | findstr / i vmware
will show you only vmware drivers for example. jums parādīs tikai vmware vadītājiem for example. There's also a “show lines that do not match” switch: Pastāv arī "show līnijām, kas neatbilst" slēdzis:
driverquery | findstr /iv 8/4/2004 driverquery | findstr / IV 8/4/2004
will show you all drivers that do NOT have a link date of 8/4/2004. jums parādīs visiem transportlīdzekļu vadītājiem, kuriem nav saiknes datumu 8/4/2004. It's a fair replacement for grep IMHO. Tā ir taisnīga aizstājējs grep IMHO.
-T -T
Hi all, Hi all,
Even without cygwin installed, you can have the info saved into a textfile. Pat bez cygwin instalēts, jūs varat info ietaupītos teksta failu.
Just type (in Vista) “driverquery > C:\Users\\Desktop\drivers.txt” (without quotes of course and replace with your own Windows account). Just veids (Vista) "driverquery> C: \ Users \ \ Desktop \ drivers.txt" (bez pēdiņām, protams, un aizstāt ar savu Windows kontā).
Anyways, thanks for a very useful site with many very handy tweaks and tips! Anyways, paldies par ļoti noderīga vietne ar daudziem ļoti ērts tweaks un padomus! Much appreciated. Much appreciated.
Greetings, Sveicieni,
Jan Jan
Just to let you know there is a typo on this line: Vienkārši, lai jūs zināt, ir šajā pozīcijā typo:
driveryquery > test.txt driveryquery> test.txt
Dont think the extra “y” is correct. Dont domāju ekstra "y" ir pareizs.
I would have noticed it and not typed but i thought it would be good to change. Es esmu ievērojis, un ne rakstāmmašīnu, bet es domāju, ka būtu labi to mainīt.
I love these tips and how tos. Es mīlu šos padomus, un kā tos.
Thanks Pateicība