Annoyances.org
Home » Windows XP Discussion Forum » Message 1059475228 Search | Help | Home
  
Tip: Run a free scan for common Windows errors ad

re: How do I add programs to the ''Open With'' list?'
Tuesday, July 29, 2003 at 3:40 am
Windows XP Annoyances Discussion Forum
Posted by markus (1 messages posted)



Hello,

there are at least two ways to do this.

The easier way 

Right click on a text file and select 'Open With' for example. You will see two applications, 
Notepad and Wordpad to open your file with. Click on 'Choose Program...'. Now you 
can select any additional program, for example 'Microsoft Word'. You have not to 
select 'Always use the selected program to open ..'. Click Ok. 

Again, right click on a text file and select 'Open With' for example. You will see 
Microsoft Word added to the context menu.

The long way

Open regedit and search for 'OpenWithList' in HKEY_CURRENT_USER. You will find some 
entries below 

	HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts 

. Search further to 

	HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithList

In there are these keys and values (registry export) 

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithList]
"MRUList"="a"
"a"="NOTEPAD.EXE"

add a string value with name 'b' (not necessarily the next alphabetically 'free' 
character) and set its data to 'winword.exe' for example. Update value 'MRUList' 
to 'ab'. This value must contain all entries (not necessarily alphabetically contiguous) 
you wish to have in 'Open With'. 

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithList]
"MRUList"="ab"
"a"="NOTEPAD.EXE"
"b"="winword.exe"

Again, right click on a text file and select 'Open With' for example. You will see 
Microsoft Word added to the programs.

Now add string value 'd' and set its data to 'edit.com' and value 'MRUList' to 'dab'.

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithList]
"MRUList"="dab"
"a"="NOTEPAD.EXE"
"b"="winword.exe"
"d"="edit.com"

This will enable you to use good old ms-dos edit program :-)) 

One thing I did not come across is the way to affect the sequence of each entry in 
the context menu. It is possible for each entry except Wordpad, which I assume is 
included by registry key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithProgids. 
Play with the sequence of characters in value 'MRUList' 



Written in response to:
re: How do I add programs to the ''Open With'' list?' (md: Tuesday, July 8, 2003 at 9:21 am)

Responses to this message:
*re: How do I add programs to the ''Open With'' list?' (John Miller Crawford: Thursday, April 29, 2004 at 2:00 pm)

All messages in this thread [show all]
-How do I add programs to the ''Open With'' list?' (Ed: Mon, May 26, 2003, 2:38 pm)
-re: How do I add programs to the ''Open With'' list?' (Dan Sarandrea, MCSE: Mon, May 26, 2003, 3:08 pm)
-re: How do I add programs to the ''Open With'' list?' (Ed: Tue, May 27, 2003, 4:14 pm)
-re: How do I add programs to the ''Open With'' list?' (md: Wed, Jun 4, 2003, 7:22 pm)
-re: How do I add programs to the ''Open With'' list?' (Rat: Fri, Jul 4, 2003, 7:14 am)
*re: How do I add programs to the ''Open With'' list?' (md: Fri, Jul 4, 2003, 12:38 pm)
-re: How do I add programs to the ''Open With'' list?' (md: Tue, Jul 8, 2003, 9:21 am)
-re: How do I add programs to the ''Open With'' list?' (markus: Tue, Jul 29, 2003, 3:40 am)
-re: How do I add programs to the ''Open With'' list?' (John Miller Crawford: Thu, Apr 29, 2004, 2:00 pm)
*re: How do I add programs to the ''Open With'' list?' (Thomas Hansen: Thu, Oct 26, 2006, 2:15 am)
-re: How do I add programs to the ''Open With'' list?' (Joni: Fri, Jan 30, 2004, 7:21 am)
-re: How do I add programs to the ''Open With'' list?' (John Miller Crawford: Thu, Apr 29, 2004, 2:18 pm)
*re: How do I add programs to the ''Open With'' list?' (Frederick Tang: Thu, Aug 18, 2005, 6:29 pm)
*re: How do I add programs to the ''Open With'' list?' (magda: Wed, Jun 4, 2008, 8:26 am)
*re: How do I add programs to the ''Open With'' list?' (chssastry: Mon, Jun 16, 2008, 4:24 am)
Return to the Windows XP Discussion Forum


All content at Annoyances.org is Copyright © 1995-2008 Creative Elementtm All rights reserved.
Please do not plagiarize; redistributing these pages without permission is strictly prohibited.