mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 03:41:48 +00:00
18 lines
486 B
Plaintext
18 lines
486 B
Plaintext
---
|
||
syntax: markdown
|
||
tags: [tldr, windows]
|
||
source: https://github.com/tldr-pages/tldr.git
|
||
---
|
||
# 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 oile.reg}}`
|
||
|
||
- Forcefully (assuming [y]es) overwrite of an existing file:
|
||
|
||
`reg export {{key_name}} {{path oile.reg}} /y`
|