mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-04 07:55:24 +02:00

* reg*: improve pages --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
12 lines
396 B
Markdown
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`
|