"Unextract" Converted Batch Files
Before I will tell you how to "unextract" an .exe, you must now how ".bat to .exe" programs work. What they basically do is "wrap" a batch file with an executable; think about a Christmas present. Pretend the gift inside is the secrets of the batch file, and the wrapping on the outside is like the executable, which prevents you from "seeing" the secrets inside. But this is no ordinary present, the wrapping on the outside can not be torn or opened, you must press a button in order to to "unwrap" it. But when it "unwraps", it shows you what it is, but hiding the secrets.
If you couldn't fully understand that, here is what actually happens. Try to compare the two.
Batch files in executable form cannot be viewed as the batch language. If you open it in notepad, you will get a whole bunch of symbols. In the philosophy above, pressing the "button" is the same as opening the file as an executable. It opens just like a batch file, but if you try to edit it, you won't be able to read it. What the executable does, is temporarily extracts the batch file within it, to a temp folder.
Now to the "how to" part. Here is where that "temp" (temporary) folder is:
%userprofile%\Local Settings\TempNow all you have to do is copy and paste that into a windows explorer address bar. You will now be in a temp folder where the batch file will be dumped. Now you have to run the .exe file. But now you do have to get your hands dirty (virtually!). Search in each folder till you find a batch file, most commonly called batchfile.bat. Simply right click, press edit, and your in!
So that's how to "unextract" a converted batch file! (note: I didn't make it an instructible because, well, no one likes a one step instructable!)
Good Luck!
11
comments
|
Add Comment
|
L
L
L
![]() |




















Vancouver Mini Maker Faire 2012
Rebuilding NordicTrack ski machine drive rollers
Looking for New Zealand-based Instructables authors for conference on August 27 in Wellington
Call to makers - Brighton Mini Maker Faire
Milk Crates - not as green as you think
TEDxBaghdad - Iraq - violence, dust storms and open sourced manufacturing
UK Mini Maker Faire - The Derby Silk Mill - New Poster to Share!







