コマンドプロンプトで以下コマンドを実行
※どちらでもOK
1 |
find /v /c "" test.txt |
1 |
type test.txt | find /c /v "" |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
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> |