0

I have a makefile that concatenates two files to create a small kernel. I am using the following command:

type boot_sect.bin kernel.bin > os-image

Unfortunately, type still shows something on the cmd:

boot_sect.bin



kernel.bin

Is there a way to not show the filenames with type?

4

1 回答 1

2

您可以尝试以下命令:

copy /y /b boot_sect.bin+kernel.bin os-image > nul

/y开关用于自动覆盖目标文件,以防它已经存在并且/b用于二进制复制。

于 2013-08-11T09:39:16.820 回答