How can I add an "open with" command

  • Thread starter Thread starter Coconis
  • Start date Start date
C

Coconis

Prior to WinXP it was easy for me to add an "open with" command in the
right-click menu in the Windows Explorer (e.g. Open with Photoshop). Now I
cannot do it. Can anybody help?

Thanks

Coconis
 
----- Coconis wrote: -----

Prior to WinXP it was easy for me to add an "open with" command in the
right-click menu in the Windows Explorer (e.g. Open with Photoshop). Now I
cannot do it. Can anybody help?

Windows XP party manages this for you. Right click on the file you are interested in and select Open With... from the context menu. Select the program you want to open the file with from the list of applications. Make sure you don't check always use so that you do not override the default application. Click OK to open the file with the selected application. Close the application. Now when you right click on the file again and select Open With... you will see that XP has added the application you used as an automatic entry in that list.

You can still add items to the right click menu manually in the registry by directly modifying the file type under HKCR\<filetype>\shell. Add an key there giving it a descriptive default value and add the command key below it with the default value being the command to execute when that item is selected.
--
Tom Porterfield
MS-MVP Smart Display
http://support.telop.org

Please post all follow-ups to the newsgroup only.
 
Coconis,

If Photoshop is properly registered under HKCR\Applications, it would be available in the Open-with dialog box. The dynamic open-with list is different and you can add an application to that list.

For example, if you want to have Notepad appear in the context menu of an .htm file, use the following keys.

HKEY_CLASSES_ROOT
..htm
OpenWithList
Notepad.exe
Additionally, Notepad needs to have the following application key entry.
HKEY_CLASSES_ROOT
Applications
Notepad.exe

http://msdn.microsoft.com/library/d.../fileassociations/fa_arbitrary_file_types.asp

--
Ramesh - Microsoft MVP
http://www.mvps.org/sramesh2k

-------------------------------------------
Internet Explorer Newsgroup FAQs:
http://www.mvps.org/sramesh2k/IEFAQ.htm

Computer viruses: description, prevention, and recovery:
http://support.microsoft.com/?kbid=129972
-------------------------------------------

Prior to WinXP it was easy for me to add an "open with" command in the
right-click menu in the Windows Explorer (e.g. Open with Photoshop). Now I
cannot do it. Can anybody help?

Thanks

Coconis
 
Back
Top