Edit .reg file to DELETE a key?

D

Doug

Here's what I wanna do...

I have the registry key for .swf files that lets the system know to
play them in IE. If I delete the key, IE treats .swf files as
something I can download rather than play them. I exported the key
to a .reg so I can put it back when I'm done smooking the .swf I want,
as below

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{D27CDB6E-AE6D-11cf-96B8-444553540000}\EnableFullPage\.swf]


I want to create a .reg file that will DELETE this key so I don't have
to go through manually finding and deleting the key to download .swf's

How???
 
T

Tom Porterfield

Doug said:
Here's what I wanna do...

I have the registry key for .swf files that lets the system know to
play them in IE. If I delete the key, IE treats .swf files as
something I can download rather than play them. I exported the key
to a .reg so I can put it back when I'm done smooking the .swf I want,
as below

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{D27CDB6E-AE6D-11cf-96B8-444553540000}\EnableFullPage\.swf]


I want to create a .reg file that will DELETE this key so I don't have
to go through manually finding and deleting the key to download .swf's

How???

Place a dash at beginning of the key name. Ex:

[-HKEY_CLASSES_ROOT\CLSID\{D27CDB6E-AE6D-11cf-96B8-444553540000}\EnableFullPage\.swf]

This will delete that key, all subkeys and all values of that key and
subkeys.

--
Tom Porterfield
MS-MVP MCE
http://support.telop.org

Please post all follow-ups to the newsgroup only.
 
A

Alex Nichol

Doug said:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{D27CDB6E-AE6D-11cf-96B8-444553540000}\EnableFullPage\.swf]


I want to create a .reg file that will DELETE this key so I don't have
to go through manually finding and deleting the key to download .swf's

Slip in a - to give
[-HKEY_CLASSES_ROOT\CLSID\{D27CDB6 etc

Also if you want to delete a value item in the right pane use
[HKEY_CLASSES_ROOT\CLSID\{D27CDB6 or whatever]
"valuename"=-
 
D

Doug

Thanks Tom, it works like a champ. I knew it was something simple
like that but just didn't know what it was.



Tom Porterfield said:
Doug said:
Here's what I wanna do...

I have the registry key for .swf files that lets the system know to
play them in IE. If I delete the key, IE treats .swf files as
something I can download rather than play them. I exported the key
to a .reg so I can put it back when I'm done smooking the .swf I want,
as below

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{D27CDB6E-AE6D-11cf-96B8-444553540000}\EnableFullPage\.swf]


I want to create a .reg file that will DELETE this key so I don't have
to go through manually finding and deleting the key to download .swf's

How???

Place a dash at beginning of the key name. Ex:

[-HKEY_CLASSES_ROOT\CLSID\{D27CDB6E-AE6D-11cf-96B8-444553540000}\EnableFullPage\.swf]

This will delete that key, all subkeys and all values of that key and
subkeys.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top