Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have created a split file on a Linux system as indicated in this Unix.SE question. However, when I copy that file to a Windows system, I cannot recreate the original file. Using 7-zip gives me an error about it being unable to detect the file as a splitted file, and using copy first-file + second-file output-file gives me a 50kb output instead of the correct 7GB output.

What is the correct way to combine two files on Windows?

share|improve this question
    
superuser.com/questions/111825/… –  Lamy Nov 4 '13 at 16:15

2 Answers 2

up vote 14 down vote accepted

Add the /b parameter to indicate it's binary:

copy /b example1.ext + example2.ext example.ext
share|improve this answer

I've used HJSplit in the past with remarkable success. It's pretty straight-forward and simple to use, and it helps avoid typos on the command line (although the command line works just as well)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.