
コマンドプロンプトで以下コマンドを実行
※どちらでもOK
find /v /c "" test.txt
type test.txt | find /c /v ""
c:\tmp> c:\tmp>type test.txt a b c d e c:\tmp> c:\tmp>find /v /c "" test.txt ---------- TEST.TXT: 5 c:\tmp> c:\tmp> c:\tmp>type test.txt | find /c /v "" 5 c:\tmp> c:\tmp>