Solved

How Does One Extract Files Combined With XCOPY?

Posted on 2007-11-19
3
674 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Using dates in 'DOS' batch files has always been tricky as it has no built in ways of extracting date information.  There are many tricks using string manipulation to pull out parts of the %date% variable or output of the date /t command but these r…
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…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

809 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