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