1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +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

396 B

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