1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 14:42:07 +02:00
tldr/pages/windows/reg-copy.md
2018-01-20 20:02:54 +05:30

368 B

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