Discussion Locked

Programming

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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

3 replies

by dklippert

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.

by thechas

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

by juergen hartl

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

This discussion is closed to new replies.