Forrest logo
back to the reg tool

reg-add:tldr:cddac

reg-add: Add a new value with specific data.
$ reg add ${key_name} /d ${data}
try on your machine

This command is used to add a new registry key and set its data. It uses the Windows Command Prompt (cmd.exe) syntax to modify the Windows Registry.

  • reg refers to the Windows reg utility, which is used to interact with the Windows Registry.
  • add is an argument used with the reg utility to instruct it to add a new registry key.
  • ${key_name} is a placeholder for the name of the registry key that you want to add. You need to replace ${key_name} with the actual name you desire for the registry key.
  • /d is an argument used with the add command to specify the data that you want to assign to the new registry key.
  • ${data} is a placeholder for the actual data you want to assign to the registry key. You need to replace ${data} with the desired value or string of data.

Overall, this command allows you to add a new registry key and set its data in the Windows Registry using the reg add command.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the reg tool