1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-04 07:55:24 +02:00
tldr/pages/windows/reg-export.md
Vitor Henrique 3e43dd97e2
reg*: improve pages (#12301)
* reg*: improve pages

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2024-03-07 10:15:02 +05:30

12 lines
396 B
Markdown

# reg export
> Export the specified subkeys and values to a `.reg` file.
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/reg-export>.
- Export all subkeys and values of a specific key:
`reg export {{key_name}} {{path\to\file.reg}}`
- Forcefully (assuming [y]es) overwrite of an existing file:
`reg export {{key_name}} {{path\to\file.reg}} /y`