1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-01 18:35:23 +02:00
tldr/pages/windows/reg-save.md
2022-10-04 23:06:23 +08:00

391 B

reg save

Save a registry key, its sub keys and values to a file. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/reg-save.

  • Save a registry key, its sub keys and values to a specific file:

reg save {{key_name}} {{path/to/file}}

  • Forcefully overwrite an existing file without a prompt:

reg save {{key_name}} {{path/to/file}} /y