General discussion

Locked

Programming

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.

3 total posts (Page 1 of 1)  
| 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
www.builder.com.com

Chas

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

Back to Windows Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums