Forrest logo
back to the reg tool

reg-delete:tldr:f55c0

reg-delete: Delete a value under a specific key.
$ reg delete ${key_name} /v ${value}
try on your machine

The command "reg delete ${key_name} /v ${value}" is used to delete a specific value within a Windows registry key.

Here is an explanation of each element in the command:

  • "reg delete": This is the main command that allows you to interact with the Windows registry.

  • "${key_name}": This is a placeholder for the specific registry key you want to target. You need to replace "${key_name}" with the actual name of the key you wish to delete a value from (e.g., HKEY_CURRENT_USER\Software\MyApp).

  • "/v": This parameter is used to specify that you want to delete a value within the specified key.

  • "${value}": Similar to "${key_name}", this is a placeholder for the name of the specific value you want to delete. You need to replace "${value}" with the actual name of the value you wish to delete from the key (e.g., AppPath).

In summary, this command instructs the Windows registry to delete a specific value within a given registry key. Make sure to replace the placeholder elements with the actual values you want to target.

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