Combining files at a dos prompt?

Soldato
Joined
27 Aug 2004
Posts
2,955
Location
Singapore ExPat
Hey, I just downloaded the Solaris 10 DVD but it comes in 5 pieces which are combined to create the .iso Problem is I can't find the page that tells you how to combine them, I remember it was at a comman prompt and you just type this command followed by the 5 file names and it creates the image. I have unzipped them and am left with 5 files without file extensions, just labelled a b c d and e, can anyone remember the command!?
 
Totally standard copy command ;)
COPY file1 + file2 ==> file3
So in other words:
Code:
copy file1 file2 file3
Would combine file1 & file2 into file3 in the same directory. AFAIK relative paths work as well.

-Leezer-
 
If it's a binary file you're trying to concatenate then you'll need a /b switch in the command.

copy a+b+c+d+e /b complete.iso
 
Back
Top Bottom