?
Solved

How Does One Extract Files Combined With XCOPY?

Posted on 2007-11-19
3
Medium Priority
?
701 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 4

Accepted Solution

by:
mb042 earned 750 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 750 total points
ID: 20366651
pkzip and pkunzip also can do.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

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…
YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html). The crux of this batch f…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

752 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