Use Cygwin to count the lines in a text file on Windows.
You can quickly count the lines in text file on a Linux (or other *nix based system) with this command
wc -l < filename
(Of course, you need to substitute the filename with your filename.
Need to do this on a WIndows system? Download cygwin and you can issue the same command from the cygwin command line. The only trick to cygwin is to remember that your root directory (C:\ on most Windows systems) is /cygdrive/c. Then the directory structure is the same from there.




Recent Comments