| View previous topic :: View next topic |
| Author |
Message |
[SPW]Jsin Grandmaster Cheater Supreme
Reputation: 0
Joined: 19 Jul 2007 Posts: 1251
|
Posted: Sat Dec 13, 2008 6:50 pm Post subject: How come .exes are so....weird? |
|
|
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 |
|
 |
iTz SWAT I post too much
Reputation: 1
Joined: 20 Dec 2007 Posts: 2227 Location: Me.Location;
|
Posted: Sat Dec 13, 2008 6:53 pm Post subject: |
|
|
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 |
|
 |
FullyAwesome I post too much
Reputation: 0
Joined: 05 Apr 2007 Posts: 4438 Location: Land Down Under
|
Posted: Sat Dec 13, 2008 6:54 pm Post subject: |
|
|
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 |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Sat Dec 13, 2008 6:56 pm Post subject: |
|
|
| Go open it with a disassembler, it will prove far more useful
|
|
| Back to top |
|
 |
Karakawe I post too much
Reputation: 3
Joined: 17 Apr 2007 Posts: 3899
|
Posted: Sat Dec 13, 2008 11:17 pm Post subject: |
|
|
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 |
|
 |
|