Count the number of lines in a file in Windows Command Prompt
Counting the number of lines in a file in Windows Command Prompt by TYPE and FIND commands. Equivalent to wc -l on Linux and Unix:
TYPE file.txt | FIND "" /V /C
Links
- TYPE ss64.com/nt/type.html
- FIND ss64.com/nt/find.html
Operating systems
- Windows