Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How come .exes are so....weird?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Computer Talk
View previous topic :: View next topic  
Author Message
[SPW]Jsin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 19 Jul 2007
Posts: 1251

PostPosted: Sat Dec 13, 2008 6:50 pm    Post subject: How come .exes are so....weird? Reply with quote

Sorry, I couldn't think of what I should put for the title.

OK, so this is the scenario:
I have yu.exe
I rename it to yu.txt
I copy the text, and place it into we.txt
I rename we.txt to we.exe
It doesn't run.
Why?

_________________
Back to top
View user's profile Send private message
iTz SWAT
I post too much
Reputation: 1

Joined: 20 Dec 2007
Posts: 2227
Location: Me.Location;

PostPosted: Sat Dec 13, 2008 6:53 pm    Post subject: Reply with quote

Why don't u Right Click yu.exe > Copy ....
Paste it, then rename it to we.exe

Why do you want to convert it to .txt
I don't think you can simply view a program's source code by opening it as a text...

_________________
Back to top
View user's profile Send private message
FullyAwesome
I post too much
Reputation: 0

Joined: 05 Apr 2007
Posts: 4438
Location: Land Down Under

PostPosted: Sat Dec 13, 2008 6:54 pm    Post subject: Reply with quote

because you can't edit an exe with a text editor... iono, why would you think it would work? the funny symbols and shit comes up because you basically can't read it, and copying that stuff into a text file wouldn't make a working exe.
_________________
Back to top
View user's profile Send private message MSN Messenger
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sat Dec 13, 2008 6:56 pm    Post subject: Reply with quote

Go open it with a disassembler, it will prove far more useful
Back to top
View user's profile Send private message
Karakawe
I post too much
Reputation: 3

Joined: 17 Apr 2007
Posts: 3899

PostPosted: Sat Dec 13, 2008 11:17 pm    Post subject: Reply with quote

He's not trying to disassemble or look at the program's source, he just wants to know why the renaming thing doesn't work.
The answer is because when you copy/paste something into a .txt file, it's not just that data, when you save it as the text file, it undergoes the process being formatted as a text file. Little confusing, but basically saving the contents of a text file that used to be a program to a new text file adds the .txt mark (whatever that may be) to it. When you opened the program, it didn't have that, but still opened it.

Wow, I'm going around in circles. Do you understand a little of that?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Computer Talk All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites