Finding line count in DOS

In Unix, there's this nifty binary called "lc" which gives you the line count of the file. However, in DOS, you have to be a little more creative. Below is a DOS command I use to count the number of lines in a text file. [sourcecode language="text"] FIND /v /c "nonsense" filename.ext [/sourcecode] The "nonsense" …

Continue reading Finding line count in DOS