Go Back   Computer Forums > General Computing > Programming
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 11-06-2011, 12:24 PM   #1
Solid State Member
Join Date: Oct 2011
Posts: 17
Default convert exe to different extension

good readings every one! i have a question, and that is can you edit an exe file??

can you open it with notepad or wordpad so that you can see its codes?

can i jjust change its extension from.exe to .bat? eg. notepad.exe to notepad.bat

please some one tell me it can really be done!

lanche26 is offline   Reply With Quote
Old 11-06-2011, 04:37 PM   #2
Site Team
root's Avatar
Join Date: Mar 2004
Posts: 7,872
Default Re: convert exe to different extension

Not in notepad no,

In a hex editor yes. A good one is winhex.

It's not easy, in fact I'd go as far as to say that knowing how to look at read and program in hex is a dying art.

I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote
Old 11-07-2011, 11:58 AM   #3
Site Team
berry120's Avatar
Join Date: Jul 2009
Location: England, UK
Posts: 3,422
Default Re: convert exe to different extension

...and on top of what root's said, and just to clarify, you can't just change an exe to a bat file. A bat(ch) file is just that, a batch script of tasks to run that you can open in a text editor. An exe(cutable) is a compiled binary that you can only change in a hex editor.

If you want to view the original source code of the exe, you need to find it somewhere (it won't be in the exe) and then open it, then recompile it if you want to change the contents. In short, if you're asking, the answer is to all practical purposes a straight no!
Save the whales, feed the hungry, free the mallocs.
berry120 is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -5. The time now is 04:10 PM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0