General discussion



By rwill ·
How to write a .exe file in windows.
The file f.e. should execute a procedure like:
start - accesoires - games - "filename"

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

by DKlippert In reply to Programming

Do you want to create a shortcut on the Desktop?
Right-click the desktop. Choose new and then navigate to the location of your game and select its executable.

Collapse -

by TheChas In reply to Programming

Sounds like what you are after could be done with a script, or a batch file.

If you are writing software, and looking to create an executable, your question is beyond the scope of this forum.

I suggest that you check out TR's sister site


Collapse -

by Juergen Hartl In reply to Programming

To "write" an exe file you need to a compiler. You also need to do some programming in a computer language like C++, VisualBasic, Delphi etc... But as mentioned in other answers what you want to do can be accomplished with a VB script, which should be already installed on your system.
set fx= CreateObject("Wscript.Shell")
fx.Run ("notepad.exe")
reaplace notepad.exe with the program you want to start and then save the two lines as somescript.vbs

Related Discussions

Related Forums