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