Sponsors


Sunday, 22 January 2012

How to extract the .bat out of a .exe

How to extract the .bat out of a .exe


If you have ever wanted to know how someone made something in Batch, but they converted it to a .exe, this
is how...

What people don't know, is that it isn't actually converting, its wrapping, when you convert it, it wraps it in an exe and the actual batch file is still somewhere on your PC when you run it. Where? The temp folder.

Ok, this is how you do it:

1) Open the converted Batch File (The exe version)
2) Press the Windows Key + R to open up Run
3) Type %temp% into Run and Press Enter
4) With the exe file still open, type the name of the Exe into the search bar
5) With look, the Batch File should appear, now just copy this somewhere and Right Click> Edit with Notepad
6) There is the code you wanted to learn =D


If you are still not getting it, here are some pictures to help!


 I recommend NOT to steal peoples code and pass it off as yours! Only use this to learn how they did it!

No comments:

Post a Comment