Question:
Convert .txt to .exe?
anonymous
1970-01-01 00:00:00 UTC
Convert .txt to .exe?
Seven answers:
Manish
2006-11-01 12:05:57 UTC
converting .txt to .exe is useless coz exe files are executable files which are supposed to perform some tasks which then are made to run, txt files are simple text files which store data and they they do not contain any command lines,

EXE files have command lines.



for eg: when you make a C++ program and then compile it,the whole program is first converted to machine level language,then it is linked to the linker and then the code is made into an exectable fileor exe file, thus we know what the program will do,the output of the program is the output of the exe file...
Dr.Mr.Ed
2006-11-01 15:39:47 UTC
What are you trying to do here? To build an executable, the term you're looking for isn't "convert" but rather "compile". And you won't be able to compile plain text and have it do anything. Of course .c files are plain text, but they contain C code that can be compiled to an executable.



[I'm actually very curious what's in this txt file that you want to convert ;)]
Moein
2006-11-01 12:11:07 UTC
You know exe files are executable files.

With converting the extention it couldn't act completely as exe files.



Way to convert:

Open the "txt" file.

On menubar click File>Save as...

A window will be open, then enter your file name with "exe" extention in the File name text box.for example >>>> fileName.exe



Choose "All Files" instead of "Text Document" for type from "Save as type" combo box.

Click Save.
FORD on FIRE
2006-11-01 12:08:55 UTC
If you have written the exe correct....then just save it as .exe and change the file type to "all files"

Give msi scripts a thought..that maight me another way to do it...Good Luck.
zombie
2006-11-01 12:01:10 UTC
open the file and then save as ............name.exe
free_indeed2000
2006-11-01 12:01:04 UTC
i don't think you can do that. .txt can be used to make dll's autorun files and so forth, but not applications
John C.
2006-11-01 12:03:34 UTC
There is no way to convert it. They are completely different.



The difference?

.exe are used to run the programs and are just gibberish consisting of squares and miscellaneous symbols.

.txt are WordPad or Notepad files (and Microsoft Word if you want to save it that way.)


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...