Hey Hey,

As far as I think, what he is trying to ask is HOW can he make a file which is actually an EXE with another extension but still is able to be executed without user interference on the file.
This is actually quite simple to do.. however it won't get you overly far..

Command Prompt:
Code:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Administrator>cd \windows

C:\WINDOWS>copy notepad.exe notepad.txt
        1 file(s) copied.

C:\WINDOWS>notepad.txt

C:\WINDOWS>start notepad.txt
While you can't see it... both notepad.txt and start notepad.txt will cause notepad to launch... However, if you go to run and type notepad.txt it will open the notepad binary inside notepad.

Just because you've changed the extension of a file (something that you have to register anyways (Windows is the only operating system in high use that relies on file extensions)) doesn't mean you've changed the file type...
Example:
Code:
htregz@desktop:~/.wine/drive_c/windows> file notepad.exe
notepad.exe: PE executable for MS Windows (GUI) Intel 80386

htregz@desktop:~/.wine/drive_c/windows> file notepad.txt
notepad.txt: PE executable for MS Windows (GUI) Intel 80386
I've changed the extension but the file is still the same type... That's why it works for you at the command prompt and not from run... WIth run it first looks to the file types associations and see "oh... .txt I open that with notepad"..

Peace,
HT