Line counting in Windows
Submitted by luke on Wed, 2008-07-30 11:52
SET /A LINES=0 && FOR /F "usebackq" %L IN (`dir /s/ad/b`) DO @SET /A LINES=!LINES!+1
Will show you a poor excuse for the "wc -l" function.
