print contents of a file in windows code example
Example: echo file in windows command
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
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