Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Dec 16th, 2007, 11:35 AM   #1
aerosmith
Newbie
 
Join Date: Dec 2007
Posts: 6
Rep Power: 0 aerosmith is on a distinguished road
Disguising files

I really do not know where to go to find a solution for this question of mine, so i decided to ask in this programming forum as you guys would be better with computer stuff.
I want to know a way to merge a picture and a zip folder together into one file, such that if i change the extension to jpeg, the file opens up showing the picture (as if it was a picture file) and when i change the extension to zip, it opens up a zip folder with the contents all intact (as if it was just a zip file).

i managed to do it successfully with a jpeg picture and a rar file using a batch code
/b copy (pic file) + (rar file) (file i want)
and all was successful
but when i did it with a zip file, as a picture, it opens up nicely but as a zip, an error says zip file is corrupted

and so i suspect that it is the different binary structure of zip and rar files that caused this

can anyone tell me a solution please, all help appreciated even though this is a programming forum, and i am asking in the wrong forum, please do help help me as a kind favor.

Last edited by aerosmith; Dec 16th, 2007 at 11:57 AM.
aerosmith is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I read .mbm (Multi BitMap) files? moondog Other Programming Languages 19 Aug 16th, 2007 9:59 PM
utility i wrote to maul index.dat files on root partition c0ldshadow C++ 6 Jun 16th, 2005 4:24 PM
Checking source codes of image, audio and video files on_auc C++ 3 Feb 21st, 2005 9:36 PM
shutil.copy corrupting files? TimL Python 0 Feb 20th, 2005 4:32 PM
Bash script to access all files in a directory shinni Bash / Shell Scripting 4 Feb 18th, 2005 4:26 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 8:27 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC