MSFN Forum: Removing reg keys with .reg - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Removing reg keys with .reg Rate Topic: -----

#1 User is offline   durex 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 953
  • Joined: 21-October 04

Posted 22 October 2004 - 11:07 AM

Ive found how to remove reg entries via batch files (reg delete), and I know that you can remove registry hives in .reg files by placing a '-" in front of the hive name (ie: [-HKEY_CLASSES_ROOT\.avi\ShellEx].

If its even possible, what would the syntax be if you wanted to delete a key, such as a sting value, using a reg file?

Thanks.


#2 User is offline   Lucius Snow 

  • Member
  • PipPip
  • Group: Members
  • Posts: 247
  • Joined: 17-August 04

Posted 22 October 2004 - 11:15 AM

For deleting a value, you have to put a "-" as well. For example :

Quote

[HKEY_CLASSES_ROOT\ASFFile\shell\play]"LegacyDisable"=-


#3 User is offline   durex 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 953
  • Joined: 21-October 04

Posted 22 October 2004 - 02:26 PM

Excellent.

Thanks.

#4 User is offline   durex 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 953
  • Joined: 21-October 04

Posted 23 October 2004 - 04:58 PM

I just tried this and it doesnt seem to work. I even rebooted as well... reg entry is still there... anyone else know how to do this?

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy