.EXE file association
-
As .txt opens with notepad as default, with what program .exe opens with? I am aware, .exe is native to operating system. However i have a packaged program which is embedded into main program and is extracted to temp folder before execution..however with .tmp extention assigned. I can rename .tmp with .exe, I am just digging into windows internals and curious how this works. I guess somefunction of rundll.dll is capable of executing .tmp files, but i am not quite informed about it. Also, noticed that installshield and other installers copies executables as .tmp files and later executes them thanks well in advance. h.
-
As .txt opens with notepad as default, with what program .exe opens with? I am aware, .exe is native to operating system. However i have a packaged program which is embedded into main program and is extracted to temp folder before execution..however with .tmp extention assigned. I can rename .tmp with .exe, I am just digging into windows internals and curious how this works. I guess somefunction of rundll.dll is capable of executing .tmp files, but i am not quite informed about it. Also, noticed that installshield and other installers copies executables as .tmp files and later executes them thanks well in advance. h.
The EXE files are not opened by some other program, they run as is, that's why they are called executables ! And they each can have quite different functionality. This is different from other files (often called documents): TXT/DOC/XLS/PPT... files always open with the same program (typ. Notepad, Word, Excel, PowerPoint...) :)
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips: - make Visual display line numbers: Tools/Options/TextEditor/... - show exceptions with ToString() to see all information - before you ask a question here, search CodeProject, then Google
-
The EXE files are not opened by some other program, they run as is, that's why they are called executables ! And they each can have quite different functionality. This is different from other files (often called documents): TXT/DOC/XLS/PPT... files always open with the same program (typ. Notepad, Word, Excel, PowerPoint...) :)
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips: - make Visual display line numbers: Tools/Options/TextEditor/... - show exceptions with ToString() to see all information - before you ask a question here, search CodeProject, then Google
duh ! ;P Here is the article to load .exe into memory and then execute it programatically... http://www.codeproject.com/useritems/LoadExeIntoAssembly.asp[^]