A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Customizing Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

how EXE files are handled



 
 
Thread Tools Display Modes
  #1  
Old November 15th 09, 06:47 PM posted to microsoft.public.windowsxp.customize
Mammad DN
external usenet poster
 
Posts: 20
Default how EXE files are handled

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.


Ads
  #2  
Old November 15th 09, 09:50 PM posted to microsoft.public.windowsxp.customize
Rich Barry
external usenet poster
 
Posts: 1,220
Default how EXE files are handled

Go below and click on EXE file Association Fix.

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



"Mammad DN" wrote in message
...
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.



  #3  
Old November 15th 09, 09:50 PM posted to microsoft.public.windowsxp.customize
Rich Barry
external usenet poster
 
Posts: 1,220
Default how EXE files are handled

Go below and click on EXE file Association Fix.

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



"Mammad DN" wrote in message
...
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.



  #4  
Old November 16th 09, 12:52 AM posted to microsoft.public.windowsxp.customize
Tim Meddick
external usenet poster
 
Posts: 1,995
Default how EXE files are handled

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" wrote in message
...
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.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 02:54 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.