Cygwin comes with the Unix tool 'wc', which can be used to count lines. In lieu of that, Google led me to a version of wc on this page: http://sac-ftp.externet.hu/utiltext23.html No idea about it though. - Colin > > > Does anyone know if there is a tool available for Windows that > will descend > all the text files (html, asp etc) in a directory structure and count the > total number of lines? >