Appending Binary Files Using the COPY Command

만료된 KB 콘텐츠 고지 사항

이 문서는 Microsoft에서 더 이상 지원하지 않는 제품에 대해 작성되었습니다. 따라서 이 문서는 “있는 그대로" 제공되며 더 이상 업데이트되지 않습니다.

Summary

MS-DOS allows you to append several binary files together using the COPY command. However, the target file that results is smaller than the sum of the source files.

More Information

To append binary files, use the COPY command with the /b switch. The syntax is as follows:
copy <source1> /b + <source2> /b [....] <targetfile>
-or-
copy /b <source1> + <source2> [....] <targetfile>
You can also combine several files into one by using wildcards. For example:
copy /b *.exe combin.exe
Note: The /b switch is also useful when combining or appending ASCII files that contain embedded control characters.


For more information, query on the following words:
COPY and strip and EOF
COPY and concatenate
COPY and XCOPY and merge
속성

문서 ID: 71161 - 마지막 검토: 2003. 5. 12. - 수정: 1

피드백