Solved

How Does One Extract Files Combined With XCOPY?

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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

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…
Being a system administrator some time we require to do things remotely, one of them is installing software. Here I am going to tell you how to install software through wmic (Windows management instrument console). I am not at all saying that this i…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

734 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