a06lp Posted January 27, 2005 Share Posted January 27, 2005 Hi,I am trying to delete a reg key with my Cleanup.cmd. However, the code I'm using asks for confirmation... what do i need to change / how do i delete a reg entry without confirmation?here's my current (flawed) code:ECHO Deleting Temporary WPI Registry Key... reg delete "hkcu\software\microsoft\internet explorer\styles" Link to comment Share on other sites More sharing options...
MCT Posted January 27, 2005 Share Posted January 27, 2005 add /freg delete "hkcu\software\microsoft\internet explorer\styles" /f Link to comment Share on other sites More sharing options...
a06lp Posted January 27, 2005 Author Share Posted January 27, 2005 works perfect!thanks! Link to comment Share on other sites More sharing options...
totoymola Posted January 27, 2005 Share Posted January 27, 2005 or use a regfile.[-hkey_local_machine\software\microsoft\internet explorer\styles]but i think reg delete is better, because regfiles cannot delete a single entry. Link to comment Share on other sites More sharing options...
asbsamsf Posted January 27, 2005 Share Posted January 27, 2005 but i think reg delete is better, because regfiles cannot delete a single entry.o yes it can[key_local_machine\software\microsoft\internet explorer\styles]"a single entry"=- Link to comment Share on other sites More sharing options...
totoymola Posted January 28, 2005 Share Posted January 28, 2005 That is not actually deleting. That is like removing the value of the entry. Link to comment Share on other sites More sharing options...
asbsamsf Posted January 28, 2005 Share Posted January 28, 2005 That is not actually deleting. That is like removing the value of the entry. can put your hand on your hart and say that it removs the key and the value Link to comment Share on other sites More sharing options...
syskplim Posted January 28, 2005 Share Posted January 28, 2005 but i think reg delete is better, because regfiles cannot delete a single entry.o yes it can[key_local_machine\software\microsoft\internet explorer\styles]"a single entry"=-how come i can't use reg command in my win2k pro?it keeps on saying " 'reg' is not recognized as an internal or external command,.... Normally i use .reg file to do my job. Link to comment Share on other sites More sharing options...
syskplim Posted January 28, 2005 Share Posted January 28, 2005 one more thing is, is there any good software/tools to do the registry editing? something can group the software name. eg. after i uninstalled NAV, there are many things remain in registry like NAV, symantec, livesub.... and so on.last time i got a tool called EZclean. i can trace and shows all the registry entries and keys have been modified when i install a program. BUT this EZclean can't support Win2K and WinXP anymore when i have a chinese software in my computer. any suggestion? Link to comment Share on other sites More sharing options...
totoymola Posted January 28, 2005 Share Posted January 28, 2005 you forgot to put REGEDIT4 in the starting line. edit:oops.. i think i misunderstood your question. are you saying there is no REG DOS command?Try using a freeware called CCleaner (Crap Cleaner). Link to comment Share on other sites More sharing options...
prathapml Posted January 28, 2005 Share Posted January 28, 2005 hi syskplim,reg.exe may not exist in win2k. It was part of the resource kit back then, and made it into the base OS later (winxp). But regedit.exe is what you need to apply .REG files - so you don't need to worry, unless you do value modifications from command-line.For your other questions, the search function would be better.....it has all been discussed more than once. Link to comment Share on other sites More sharing options...
totoymola Posted January 28, 2005 Share Posted January 28, 2005 it removs the key and the value****! You are abolutely right! Link to comment Share on other sites More sharing options...
syskplim Posted January 28, 2005 Share Posted January 28, 2005 hi syskplim,reg.exe may not exist in win2k. It was part of the resource kit back then, and made it into the base OS later (winxp). But regedit.exe is what you need to apply .REG files - so you don't need to worry, unless you do value modifications from command-line.That's why i feel funny why i couldn't use REG command in command line.Thankx prathapml. i did have a search on 'registry' but a lot of things came out. Link to comment Share on other sites More sharing options...
syskplim Posted January 28, 2005 Share Posted January 28, 2005 oops.. i think i misunderstood your question. are you saying there is no REG DOS command?Try using a freeware called CCleaner (Crap Cleaner).good stuff thankx totoymola. as prathapml said, there is no 'reg' in Win2K command line. thats why i can use it. thankx for the info. Link to comment Share on other sites More sharing options...
PROBLEMCHYLD Posted July 10, 2006 Share Posted July 10, 2006 I want to delete this key but i want it as a reg file how do i do itHKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ICSharing\Settings\General\InternetMTU Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now