Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open With Window

Status
Not open for further replies.

borthwick

Technical User
Aug 17, 2003
12
0
0
GB
How do I get rid off an application/program within the Open with window?

borthwick
 
Hello borthwick,

First you have to think hard why you do not want it appearing there. Solely annoying is often not a sufficient reason.

Now, this is how you do it. Every application/program appearing in the window in question reflects from an entry in the registry. Take a utterly innocent program which I do not use at all : Viewer.exe. It gets its place in the registry key :

[HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\Applications\Viewer.exe]

under its subkey \Shell you will find a value named "FriendlyCache":

[HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\Applications\Viewer.exe\Shell]
"FriendlyCache"="VIEWER"

Its value "VIEWER" is the description appearing in the open-with window.

To prohibit it from appearing in the open-with window for selection, at the same time not disabling its other proper functions, you add the an empty string value to a value-key named "NoOpenWith". With .reg format, it is like this:

Code:
REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\Applications\Viewer.exe]
"NoOpenWith"=""

For any other application/program, the same applies.

regards - tsuji
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top