Which Windows Shell command will print a file content on the standard output (like cat in Linux)?

John Threepwood picture John Threepwood · Jun 27, 2012 · Viewed 8.2k times · Source

Which Windows Shell command will print a file content on the standard output (like cat in Linux) ?

With Google, Stackoverflow, etc, I just could not find a solution, but I am sure, there is an easy one.

Answer

Brian Rasmussen picture Brian Rasmussen · Jun 27, 2012

The command is: type <filename>

However, if you want to Unix-fy your Windows shell there are Win32 ports of most of the command Unix style commands.