mirror of https://github.com/CrimsonTome/tldr.git
16 lines
368 B
Markdown
16 lines
368 B
Markdown
|
# reg copy
|
||
|
|
||
|
> Copy keys and their values in the registry.
|
||
|
|
||
|
- Copy a registry key to a new registry location:
|
||
|
|
||
|
`reg copy {{old_key_name}} {{new_key_name}}`
|
||
|
|
||
|
- Copy a registry key recursively to a new registry location:
|
||
|
|
||
|
`reg copy {{old_key_name}} {{new_key_name}} /s`
|
||
|
|
||
|
- Forcefully copy a registry key without a prompt:
|
||
|
|
||
|
`reg copy {{old_key_name}} {{new_key_name}} /f`
|