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