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-export.md
2022-10-04 23:06:23 +08:00

388 B

reg export

Export the specified sub keys and values into a file. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/reg-export.

  • Export all sub keys and values of a specific key:

reg export {{key_name}} {{path/to/file.reg}}

  • Force overwriting of an existing file without prompt:

reg export {{key_name}} {{path/to/file.reg}} /y