REGISTRY KEY DELETION
Hi,
I want to delete a particular value from a registry key like that if i have a key like test in that having various types of values like string ,dword, multistring then i need to delete only that dword value what i need to do..
i knw that hw to delete the registry key..using batch
i want to delete only the dword value in that test key but not the entire key using only batch file....
can u tell me ..where i can get the related code for that
I want to delete a particular value from a registry key like that if i have a key like test in that having various types of values like string ,dword, multistring then i need to delete only that dword value what i need to do..
i knw that hw to delete the registry key..using batch
i want to delete only the dword value in that test key but not the entire key using only batch file....
can u tell me ..where i can get the related code for that
0 Comments
[ + ] Show comments
Answers (5)
Please log in to answer
Posted by:
hari4243
13 years ago
Posted by:
kpremchander
13 years ago
try reg delete < full registry key value>
for example,
if you want to delete HKLM\Software\example\test
a dword key VERSION REG_DWORD
give as
REG DELETE HKEY_LOCAL_MACHINE\SOFTWARE\example\test /V VERSION
it will delete any type of registry value.
if u want to create a custom action u can create a batch file and include it
for example,
if you want to delete HKLM\Software\example\test
a dword key VERSION REG_DWORD
give as
REG DELETE HKEY_LOCAL_MACHINE\SOFTWARE\example\test /V VERSION
it will delete any type of registry value.
if u want to create a custom action u can create a batch file and include it
Posted by:
murali.bhat
13 years ago
Posted by:
hari4243
13 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.