Computing.Net > Forums > Programming > getting a single file from a .exe

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

getting a single file from a .exe

Reply to Message Icon

Name: babbage00
Date: April 30, 2004 at 22:27:29 Pacific
OS: 98
CPU/Ram: 900/256
Comment:

is there any way to "deconstruct" a exe so that i can get a specific file from it?

SOK



Sponsored Link
Ads by Google

Response Number 1
Name: StuartS
Date: May 1, 2004 at 05:20:52 Pacific
Reply:

What do you mean by obtain a specific "file". EXE files don't contain files. EXE files are just a whole stream of instructions and data that the CPU understands.

If you are thinking of decompiling an EXE file into the source components that created it, forget it. Once the compiler has compiled and linked the source files, there is no easy way to unlink them.

The best you are likely to do it to decompile the file into machine code then work out from the machine code what the programme is doing. Some de-compilers attempt to decompile a programme into C++ source code, but it will be nothing like the code that generated the EXE file in the first place. This of course is dependant on the EXE file being written and compiled in C++ to beging with.

Do a search on Google for decompilers and dissasemblers and you will get a feel of the problems involved.

Stuart


0

Response Number 2
Name: babbage00
Date: May 1, 2004 at 15:32:53 Pacific
Reply:

i have a exe file that is similar to a powerpoint slideshow and it has pictures on it. I want to seperate the pictures from the exe.

SOK


0

Response Number 3
Name: StuartS
Date: May 1, 2004 at 17:23:30 Pacific
Reply:

If the is an EXE file created by the Pack'n Go feature of MS Powerpoint. Running the file will extract the necessary files form the EXE. The EXE file is like a self-extracting Zip file. The actual presentation should be included in a special compiled file separately. The file can only be used with aforementioned EXE file and, if necessary, the Powerpoint Viewer.

If it were possible to recover the original presentation, it would mean that you could take someone else's presentation and adapt it for your own used and that is cheating.

Stuart



0

Response Number 4
Name: babbage00
Date: May 2, 2004 at 15:28:44 Pacific
Reply:

...cheating and/or saving MY pictures to MY harddrive.

SOK


0

Response Number 5
Name: StuartS
Date: May 2, 2004 at 18:24:11 Pacific
Reply:

In that case you will have the originals. If you have lost the originals, then tough. Its like a programmer losing his source files - they don't.

Stuart



0

Related Posts

See More



Response Number 6
Name: saddam (by lurker)
Date: May 3, 2004 at 02:39:12 Pacific
Reply:

you can extract resources or icons from a exe using a program called Resource Hacker.

http://www.users.on.net/johnson/resourcehacker/

Or you could search google for Resource Hacker

saddam



0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: getting a single file from a .exe

vb.net enumerate files from folder www.computing.net/answers/programming/vbnet-enumerate-files-from-folder/14728.html

script to copy files from a server www.computing.net/answers/programming/script-to-copy-files-from-a-server-/16825.html

Get last 4 character from a file www.computing.net/answers/programming/get-last-4-character-from-a-file/19808.html