Solved

How Does One Extract Files Combined With XCOPY?

Posted on 2007-11-19
3
683 Views
Last Modified: 2012-05-05
We have discovered a user who was combining a ZIP file with a JPG using the old DOS command XCOPY.  The finished product appears on the surface to be the original ZIP file, but it is large enough to contain the combined ZIP file as well.  Once you have combined two files into one with XCOPY, how do you go about splitting them in two again?

Thanks!
0
Comment
Question by:smconsult
3 Comments
 
LVL 4

Accepted Solution

by:
mb042 earned 250 total points
ID: 20316787
You need a DOS splitting utility. (Google DOS split util). You will need to know the original size of the ZIP file and manually split the file at that point. Once you combine two files with a copy command, there is no way for any of the utilities to automatticly know where to split the file.
0
 
LVL 17

Assisted Solution

by:Shanmuga Sundaram
Shanmuga Sundaram earned 250 total points
ID: 20366651
pkzip and pkunzip also can do.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Batch: check service status 11 91
DOS - Automated Tree Structure Creation 10 95
how to pick only current date files from a ftp 14 63
Coding yesterday's date 3 38
VALIDATING DATES One method of validating dates is to jam the date into the DATE command and see if it accepts it by examining the system's errorlevel value. A non-zero result indicates failure. A typical example might look something like the fol…
Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question