Delete Registry Key by Command Line
Delete Registry Key by Command Line
(OP)
I am trying to delete a registry key from the command line. The command runs correctly and will delete the key. The problem is that I cannot force the command without a prompt being displayed.
here is my current command:
reg delete "HKCU\Software\Mercury Interactive\QuickTest Professional\" /va /f
The "/f" does not seem to be working.
Any ideas?
thanks,
Mike
here is my current command:
reg delete "HKCU\Software\Mercury Interactive\QuickTest Professional\" /va /f
The "/f" does not seem to be working.
Any ideas?
thanks,
Mike
RE: Delete Registry Key by Command Line
reg delete "HKCU\Software\Mercury Interactive\QuickTest Professional" /va /f
RE: Delete Registry Key by Command Line
Removing the final '\' will delete all of the values under that key, but it will not delete the key or any of the subkeys. (which is what I am trying to do)
On the bright side, it did not prompt me for deleting the key.
Mike
RE: Delete Registry Key by Command Line
RE: Delete Registry Key by Command Line
gives you all kinds of options and the syntax to go along with it
Doh!!
RE: Delete Registry Key by Command Line
I will try to be more careful about the questions that I ask so that I don't take up too much of your precious time Xavier2.
RE: Delete Registry Key by Command Line
Doh!!
RE: Delete Registry Key by Command Line
%Windir%\Help\ntcmds.chm
This places the entire XP version of Help for command line utilities right on my desktop. I use it several times a week. (I do a similar step for the XP Resource Kit Help file, and the Windows 2003 Resource Kit). Recommended.