Windows – Is there replacement for cat on Windows


I need to join two binary files with a *.bat script on Windows.

How can I achieve that?

Best Solution

Windows type command works similarly to UNIX cat.

Example 1:

type file1 file2 > file3

is equivalent of:

cat file1 file2 > file3

Example 2:

type  *.vcf > all_in_one.vcf  

This command will merge all the vcards into one.