text stringlengths 0 4.23k |
|---|
/p <password> |
Specifies the password of the user account that is specified in the /u parameter. /p cannot be used unless /u is specified. |
/fo table |
Formats the output as a table. This is the default. |
/fo list |
Formats the output as a list. |
/fo csv |
Formats the output with comma-separated values. |
/nh |
Omits the header row from the displayed driver information. Not valid if the /fo parameter is set to list. |
/v |
Displays verbose output. /v is not valid for signed drivers. |
/si |
Provides information about signed drivers. |
/? |
Displays help at the command prompt. |
<system> |
[<domain>]<username> |
<password> |
Examples |
To display a list of installed device drivers on the local computer, type: |
driverquery |
To display the output in a comma-separated values (CSV) format, type: |
driverquery /fo csv |
To hide the header row in the output, type: |
driverquery /nh |
To use the driverquery command on a remote server named server1 using your current credentials on the local computer, type: |
driverquery /s server1 |
To use the driverquery command on a remote server named server1 using the credentials for user1 on the domain maindom, type: |
driverquery /s server1 /u maindom\user1 /p p@ssw3d |
echo |
Displays messages or turns on or off the command echoing feature. If used without parameters, echo displays the current echo setting. |
Syntax |
echo [<message>] |
echo [on | off] |
Parameters |
Parameter |
Description |
[on | off] |
Turns on or off the command echoing feature. Command echoing is on by default. |
<message> |
Specifies the text to display on the screen. |
/? |
Displays help at the command prompt. |
<message> |
Remarks |
The echo <message> command is particularly useful when echo is turned off. To display a message that is several lines long without displaying any commands, you can include several echo <message> commands after the echo off command in your batch program. |
echo <message> |
echo <message> |
After echo is turned off, the command prompt doesn't appear in the Command Prompt window. To display the command prompt, type echo on. |
If used in a batch file, echo on and echo off don't affect the setting at the command prompt. |
To prevent echoing a particular command in a batch file, insert an @ sign in front of the command. To prevent echoing all commands in a batch file, include the echo off command at the beginning of the file. |
@ |
To display an exclamation mark (!) in batch scripts, wrap the word or phrase in double quotes followed by a caret before the exclamation mark ("Hello World^!"). Alternatively, a double caret (^^) can be used without the need for double quotes (Hello World^^!). |
! |
"Hello World^!" |
^^ |
Hello World^^! |
To display a pipe (|), ampersand (&) or redirection character (< or >) when you are using echo, use a caret (^) immediately before that character. For example, ^|, ^&, ^>, or ^<. To display a caret, type two carets in succession (^^). |
| |
& |
< |
> |
^ |
^| |
^& |
^> |
^< |
^^ |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.