Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how EXE files are handled

2 views
Skip to first unread message

Mammad DN

unread,
Nov 15, 2009, 1:47:45 PM11/15/09
to
I need to know how exe files are opened in windows,i mean all files other
than exe files are opened with an exe files but how exe files are opened and
by which dll or system files.I ask this question because a virus ran into my
computer and whenever i tried to open a system exe file Open With dialogue
appeared and showed me the available programs for opening this exe file.


Rich Barry

unread,
Nov 15, 2009, 4:50:05 PM11/15/09
to
Go below and click on EXE file Association Fix.

http://www.dougknox.com/xp/file_assoc.htm

"Mammad DN" <mm_64_...@yahoo.co.uk> wrote in message
news:exyvZRiZ...@TK2MSFTNGP05.phx.gbl...

Tim Meddick

unread,
Nov 15, 2009, 7:52:35 PM11/15/09
to
EXE (executable or program) files are not opened by any other program or dll, but are
sent directly to the CPU to be executed or "run".

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...

exefile.reg
0 new messages