How can I print the content of a textfile on the command prompt in Windows?
In Linux I can do this with less textfile.txt, more textfile.txt or cat textfile.txt
What is the command for this in Windows?
How can I print the content of a textfile on the command prompt in Windows?
In Linux I can do this with less textfile.txt, more textfile.txt or cat textfile.txt
What is the command for this in Windows?
For printing the content of multiple files (e.g. textfile_1.txt, textfile_2.txt) the following, does also works :
type textfile*
more textfile.txt... avoids a useless use oftype– Joey Jul 13 '10 at 01:06typeis useless? It's very useful for piping isn't it? – Pacerier Mar 20 '15 at 07:33findstr/grep, etc. – Joey Mar 20 '15 at 09:00