Do you know a similar program for wc (unix word count command) on Windows?

cmd, windows

Solution

You can use the original "wc", built for windows: it is part of the coreutils package. Get the most recent coreutils exe.

Problem

A quick search gives me tawbaware wc, but it does not accept stdout as input stream, meaning I can not use pipe within a DOS session. Note: I can not install cygwin or use powershell (which would have allowed a '`|foreach-object {(get-content $_).count}`') unxutils and and gnuwin32 Packages might have this feature...

Original source