cat in cmd code example
Example 1: cat in windows
Just use type command in Windows as follows:
C:\>echo hi > a.txt
C:\>echo bye > b.txt
C:\>type a.txt b.txt > c.txt
C:\>type c.txt
Example 2: cat file commaand explaind
cat [OPTION] [FILE]...
Just use type command in Windows as follows:
C:\>echo hi > a.txt
C:\>echo bye > b.txt
C:\>type a.txt b.txt > c.txt
C:\>type c.txt
cat [OPTION] [FILE]...