I want to delete registry key of all the registries subkey. I was looking for a script or a batch file which does this work for me...! Please Help...! Can someone provide me with the script or a batch file for the same????
I want to delete registry key of all the registries subkey. I was looking for a script or a batch file which does this work for me...! Please Help...! Can someone provide me with the script or a batch file for the same????
I think there is no such script or file available for deleting the subkey for all the registry. You have to do it by your own.... If some know such file or a script to do that please help...! any suggestion will be appreciated...!
Here is the solution to your both question... The Microsoft Visual FoxPro code below demonstrates several examples of deleting registry keys and values. Hope this was the solution you finding for...!
*!* Delete Registry Keys
WSHShell.Popup( "Delete value HKCU\MyRegKey\Entry\Value1")
WSHShell.RegDelete( "HKCU\MyRegKey\Entry\Value1")
WSHShell.Popup ("Delete key HKCU\MyRegKey\Entry")
WSHShell.RegDelete( "HKCU\MyRegKey\Entry\")
WSHShell.Popup ("Delete key HKCU\MyRegKey")
WSHShell.RegDelete( "HKCU\MyRegKey\")
I don't know about the above solution as using it is a risky for the computer but if you want to delete some file from it why you want to change the all the subkey of the registry just find that file & delete it. it will automatically delete the value stored in it & will be disable to perform. I hope this is the easy & simpler solution to your question.
Bookmarks