|
Answer» Hey peoples, I have a windows XP computer and I have a request to make. My problem is that I want to make a batch file program that merges 2 files together and when u change the.(something) to .(something else) it will still compute. So i have a pic and i merge it with a zip file and then the join. The pic does show up as a pic when you double click on it and when you change the type of file it works as a zip and SHOWS you what is in the zip file.
If any body out there could help it WOULD be much appreciated.
Regards, Tan_ZaIs this so you can hide stuff?Sort off. It would be interesting to have 2 files on one. So when you change the .(something) to .(something else) it would be like a hidden type thing, yes and maybe.
Thanks anyways, Tan_ZaWhat you want will require more than changing the extensions. Most file types (including the 2 that you mention in your post) have file headers or signatures that tell programs what type and version they are. A picture will most likely be a JFIF COMPLIANT JPEG file which will have a signature of "FF D8 FF E0" (hex in the first 4 bytes of the file). A ZIP file will have a signature of "50 4B 03 04". So if you merge the files, whatever file is first may open properly, but the second file will not because the header won't match, and the program won't know where to go to look for the right part of the file.
There are few (if any) legitimate reasons for hiding one file inside of another file, so you probably won't find how to do what you are looking for on this forum. If you need security, just USE a legitimate encryption program.
Quote from: GuruGary on March 29, 2008, 12:34:34 AM There are few (if any) legitimate reasons for hiding one file inside of another file
Well I don't think so there is away. Maybe if you know a alot about dos then you can give me an answer. The files that I would be doing this with would be a .jpg and a .zip. If you could post code it would be much appreciated.
Regards, Tan_Za
|