I have both Emacs 21.3.1 and Emacs 23.1.1 installed under Windows XP. When I double-click on a ".txt" file, it runs Emacs 21.3.1. The usual way to change this under Windows XP is to:

  1.

     right-click on a file of the desired type (".txt" in this case),

  2.

     select "Properties",

  3.

     click the "Change" button next to "Opens With",

  4.

     in the "Open With" dialog box, if the program you want isn't
     listed under "Programs", click "Browse" and select the executable
     you want to handle that file type.  For Emacs, you have to select
     runemacs.exe rather than emacs.exe, or an MS-DOS command window
     will open every time you run Emacs.

Right now, if I double-click on a ".txt" file, it runs Emacs 21.3.1. I've tried the procedure above, selecting runemacs.exe for Emacs 23.1.1, but double-clicking on a ".txt" file still opens it in the old version (21.3.1).

It used to be that to install Emacs, you had to run addpm.exe, and that executable is still provided. So I tried running the version of addpm.exe in the 23.1.1 directory. But that didn't change anything.

On a Windows XP machine with multiple versions of Emacs installed, how can I specify which version is to be run when I double-click on a ".txt" file?

--

   Mark Rosenthal
   [email protected] <mailto:[email protected]>

Reply via email to