windows list file contents code example
Example 1: read text file cmd
// option 1
more fileName
// option 2
type fileName
Example 2: 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