हिंदी में देखें |

PC Tips

Archiving Multiple Files



ArchivingMultipleFiles


Contents :-



Step-by-Step


An interesting little Windows hack, using "copy" to store a ZIP or RAR archive inside of a PNG or JPEG image or Word Document or HTML or MS Excel or Movie or any type of file.

Allowing you to later extract it with WinRAR archiver, while still seeing the main file when you open normally.

The concept of this is, we need 2 files:

1st file is used is as main file which will open when user open the file by double clicking it or with its corresponding application. 2nd we need some Archived file(such as .zip/.rar/.z/.jar/.gz/etc) to store them inside the 1st file.

To store multiple files inside one file use these steps:

1. Get the files you want to store and put them all on your desktop or a new folder

2. Select them all, right click and choose "Add to archive/rar..."

ArchivingMultipleFiles2

3. In the field "Archive name" type in anything you want, such as "test.rar"

4. Choose either ZIP or RAR as the archive format. RAR is highly recommended.

5. Press "OK"

ArchivingMultipleFiles3

6. Choose an image you want to be displayed when the image is opened normally, and place it in the same directory. In our case it’s “logo.gif”, but you can use any other image[.jpg/.gif/.png/etc.]

7. Open CMD[DOS Prompt],

ArchivingMultipleFiles4

navigate to the directory and type the following (without quotes):

copy /b YOURFILE.ext + YOURARCHIVE.ext OUTPUT.ext

such as:

ArchivingMultipleFiles5

copy /b logo.gif+test.rar logo1.gif

8. If done correctly, you should be able to view your normal JPG, and open it with WinRAR to the see contents of the RAR file you added.

ArchivingMultipleFiles6

logo1.gif as open as GIF image:

ArchivingMultipleFiles7

logo1.gif in opened with WinRAR as archive:

ArchivingMultipleFiles8

9. Please proceed to read Tips and Warning section.

10. Same way you can add files in a MS Word Document (.doc) file as well, to do this syntax would be:

copy /b test.doc+test.rar test1.doc

ArchivingMultipleFiles9




Tips & Warnings


Tips

• Use only PNG or JPG, do not use BMP as they take up too much space

• WinZIP cannot open RAR, so if you are giving the file to a user who does not have WinRAR, choose ZIP as the archive

• The display image (YOURFILE.ext) must be the same as the output extension (You Cannot use JPG/DOC as main file and output to PNG/Excel or vice versa)

Warnings

• Do not change the order of the files in CMD, it must be JPG + RAR and not RAR + ZIP.



.....Previous     Same     Next.....

Tags- Archiving Multiple Files | What is Folder archiving? | How do I archive folders in Windows 10? | How do I archive files? | How do I compress a tar file? | How do I archive a folder? | What does archiving an email mean? | What is an archive folder? | How do I convert archive files? | How do I open archive files? | What is archiving in Outlook? | What does it mean when a file is archived? | What does it mean to archive a document? | How do I add to archive? | How do I archive files in Linux? | How do I archive in Outlook 2016? | How do I archive files in UNIX? | How do I archive in Gmail? | What is tar file? | How do you archive Instagram posts? | How do I add an archive folder to Outlook 2010? | How do I compress a tar file in Linux? | How do I archive an Instagram post? | How do I archive chats on Whatsapp? | How do I archive files on a Mac? | How do I create a Tar GZ file in Windows? | How do I zip a file in Linux? | How do I untar a tar file in Linux? | How Unzip Tar GZ file in Linux? | How do I archive Instagram? | What does tar command do in Linux? | How do you archive emails in Outlook 2013? | How do I create an archive folder in Outlook 2013? | How do I archive emails in Outlook 2007? | What is archive folder? | How do I archive files in Windows 10? | What is archive in computer? | How do I archive a folder? | How do I tar and gzip? | How do I archive files in Windows 7? | How do I open archive files? | How do I convert archive files? | What is an archive folder? | What is a variable in Linux? | How extract TGZ file in Linux? | How do I add to archive? | How do I archive files in Linux? | How do I archive in Outlook 2016? | How do I archive files in UNIX? | How do I archive in Gmail? | What is tar file? | How do you archive Instagram posts? | How do I add an archive folder to Outlook 2010? | How do I zip a tar file in Linux?



UpImage
Home|Indian Doctors|Indian Hospitals|Utility|Career|Electronics|Family|General|Health|PC Tips|Technology|About Us|About Admin|Feedback|Apply For Job Computer Courses|Login| Created by - Er. Sanjay Singh