Copy Command

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Concatenate does not seem to work. I have two files about 2KB each, and when
I try to concatenate them into one file I end up with a file smaller than the
original.

ie file1+file2 newfile

file1=2KB
file2=2KB

newfile=500B

Any help will be greatly appreciated.

Jimme Quinn Ross
 
Are these binary files? If so, you need to use the /b option:
copy /b file1+file2 newfile
If you omit the /b option, COPY treats any occurrence of the Ctrl-Z
character (ASCII 26) as end of file.

Jimme Quinn Ross (LBDC) said:
Concatenate does not seem to work. I have two files about 2KB each, and when
I try to concatenate them into one file I end up with a file smaller than the
original.
 
Back
Top