Out of curiosity...

TrainTrackHack

VIP Member
Why is it that when you open an executable, or any file not saved as text, in notepad or other similar editor and save the file, it becomes unusable? Just curious...
 
^ Nope. I've tried it... the icon changes into "generic" (like that of DOS executables, that don't have icons), and sometimes it comes up with the "Not valid Win32 app" message, or sometimes the console pops up and closes immediately. All other files (apart from text ones) seem to get corrupted as well.
 
It might be something to do with the way notepad encodes the files. Plus, I think that most (or a few at least) programming languages require you to compile the code into an exe, and so with notepad, your not compiling it again.

Or it might be something completely unrelated to either of those two, lol.
 
It might be something to do with the way notepad encodes the files. Plus, I think that most (or a few at least) programming languages require you to compile the code into an exe, and so with notepad, your not compiling it again.

Or it might be something completely unrelated to either of those two, lol.

Yea, but the thing is... Notepad is a plain text editor, it's (AFAIK) not supposed to encode the file in any way, (unless told to do so)...right? The second possibility... well, I'm a programmer and can tell that it can't be that (the .exe opened in notepad would be in compiled form already, no need for recompiling ;))

Anyone else wanna have a shot at it?
 
Back
Top