mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-16 21:00:25 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
29
tldr/windows/reg-compare
Normal file
29
tldr/windows/reg-compare
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, windows]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# reg compare
|
||||
|
||||
> Compare keys and their values in the registry.
|
||||
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/reg-compare>.
|
||||
|
||||
- Compare all values under a specific key with a second key:
|
||||
|
||||
`reg compare {{first_key_name}} {{second_key_name}}`
|
||||
|
||||
- Compare a specific value under two keys:
|
||||
|
||||
`reg compare {{first_key_name}} {{second_key_name}} /v {{value}}`
|
||||
|
||||
- Compare all sub keys and values for two keys:
|
||||
|
||||
`reg compare {{first_key_name}} {{second_key_name}} /s`
|
||||
|
||||
- Only output the matches between the specified keys:
|
||||
|
||||
`reg compare {{first_key_name}} {{second_key_name}} /os`
|
||||
|
||||
- Output the differences and matches between the specified keys:
|
||||
|
||||
`reg compare {{first_key_name}} {{second_key_name}} /oa`
|
||||
Reference in New Issue
Block a user