It is possible to view contents of any file directly using the Windows command prompt.
To do this :
1. Open Windows command prompt (Windows orb > in search box, type “command prompt” or All Programs > Accessories > Command Prompt).
2. Simply type the following :
This will display the contents of file specified. (Ensure that the correct file path is specified, like – Â type “D:\drafts\today.txt” )
Pretty handy when viewing log files as well as text files, all from within the Windows command prompt.