mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 14:33:40 +02:00
reg-query: add page (#1909)
This commit is contained in:
parent
481b4ffc05
commit
6d7afc1982
1 changed files with 23 additions and 0 deletions
23
pages/windows/reg-query.md
Normal file
23
pages/windows/reg-query.md
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# reg query
|
||||||
|
|
||||||
|
> Display the values of keys and sub keys in the registry.
|
||||||
|
|
||||||
|
- Display all values of a key:
|
||||||
|
|
||||||
|
`reg query {{key_name}}`
|
||||||
|
|
||||||
|
- Display a specific value of a key:
|
||||||
|
|
||||||
|
`reg query {{key_name}} /v {{value}}`
|
||||||
|
|
||||||
|
- Display all values of a key and its sub keys:
|
||||||
|
|
||||||
|
`reg query {{key_name}} /s`
|
||||||
|
|
||||||
|
- Search for keys and values matching a specific pattern:
|
||||||
|
|
||||||
|
`reg query {{key_name}} /f "{{query_pattern}}"`
|
||||||
|
|
||||||
|
- Display a value of a key matching a specified data type:
|
||||||
|
|
||||||
|
`reg query {{key_name}} /t {{type}}`
|
Loading…
Add table
Reference in a new issue