view file windows cmd code example Example: read text file cmd // option 1 more fileName // option 2 type fileName