Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

29
tldr/windows/reg-add Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, windows]
source: https://github.com/tldr-pages/tldr.git
---
# reg add
> Add new keys and their values to the registry.
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/reg-add>.
- Add a new registry key:
`reg add {{key_name}}`
- Add a new value under a specific key:
`reg add {{key_name}} /v {{value}}`
- Add a new value with specific data:
`reg add {{key_name}} /d {{data}}`
- Add a new value to a key with a specific data type:
`reg add {{key_name}} /t {{type}}`
- Forcefully overwrite the existing registry value without a prompt:
`reg add {{key_name}} /f`