I want to display the content of a text file in a CMD window. In addition, I want to see the new lines that added to file, like tail -f
command in Unix.
How to display a text file content in CMD
cmd
Related Topic
- Windows – How to get current date/time on the Windows command line in a suitable format for usage in a file/folder name
- Displaying Windows command prompt output and redirecting it to a file
- Windows – Redirect Windows cmd stdout and stderr to a single file
- Windows – How to create an empty file at the command line in Windows
- Windows – How to run two commands in one line in Windows CMD
- How to “comment-out” (add comment) in a batch/cmd
- How to execute cmd commands through a batch file
- Keep CMD open after BAT file executes
Best Answer
You can use the
more
command. For example:Take a look at GNU utilities for Win32 or download it: