http://www.dougknox.com/xp/file_assoc.htm
"Mammad DN" <mm_64_...@yahoo.co.uk> wrote in message
news:exyvZRiZ...@TK2MSFTNGP05.phx.gbl...
In the registry, non-executable files such as .doc or .txt files are associated with
a program via a replaceable parameter in the registry after a command-line to open
that program.
This replaceable parameter is represented by "%1" in the registry after the
command-line to open the program that, in turn, opens the .doc (or other
non-executable) file.
So, in the registry under the command entry for .txt files, for instance, you'd get
the following line :
C:\WINDOWS\system32\notepad.exe %1
...where the "%1" replaceable parameter would be "replaced", by Windows, with the
path to the .txt file to be opened.
With .EXE files, which do not need any other file to open [execute] them, all you get
in the registry to associate with them is the replaceable parameter itself - "%1" -
meaning to just execute itself and NOT be preceded by a program name such as
notepad.exe in the above example.
As I can see you are using OE to access this newsgroup, I will attach a simple
registry file that contains the correct association for .EXE files (i.e : just
"%1").
Just double click on this file and answer [ok] to import it.
==
Cheers, Tim Meddick, Peckham, London. :-)
"Mammad DN" <mm_64_...@yahoo.co.uk> wrote in message
news:exyvZRiZ...@TK2MSFTNGP05.phx.gbl...