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