LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

wine-reg-delete

Delete a key or value from the Wine registry

TLDR

Delete a registry key and everything under it
$ wine reg delete [HKCU\Software\MyApp]
copy
Delete a single value from a key
$ wine reg delete [HKCU\Software\MyApp] /v [Name]
copy
Delete the default (unnamed) value of a key
$ wine reg delete [HKCU\Software\MyApp] /ve
copy
Delete all values under a key but keep the key itself
$ wine reg delete [HKCU\Software\MyApp] /va
copy
Delete a key without a confirmation prompt
$ wine reg delete [HKCU\Software\MyApp] /f
copy

SYNOPSIS

wine reg delete key [/v value | /ve | /va] [/f]

DESCRIPTION

wine reg delete removes a registry key, a single value, or all values within a key from a Wine prefix. It mirrors the Windows reg delete command. With no value options, the entire key and all of its subkeys and values are removed.By default the command prompts for confirmation before deleting. Use /f to suppress the prompt, which is required when running non-interactively in scripts.

PARAMETERS

/v value

Delete the named value under the key.
/ve
Delete the key's default (unnamed) value.
/va
Delete all values under the key while leaving the key and its subkeys intact.
/f
Force the deletion without a confirmation prompt.

INSTALL

sudo dnf install wine
copy
sudo pacman -S wine
copy
sudo apk add wine
copy
sudo zypper install wine
copy
nix profile install nixpkgs#wine
copy

CAVEATS

Deleting a key without specifying a value also removes every subkey beneath it. There is no undo, so export the key first with wine reg export if you might need to restore it.

SEE ALSO

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid