I know the command in Unix/Linux systems is "wc" but that doesn't work in Windows.
You can also display the Word Count dialog box by pressing Ctrl + Shift + G.
In Microsoft Word the number of words in your document is displayed on the status bar at the bottom left of the workspace. To include text in footnotes, endnotes and text boxes in the word count: From the Review tab, in the Proofing group, click Word Count.
Windows 8 users can also press ⊞ Win + X and select Command Prompt from the menu. Retrieve the list of commands. Type help and press ↵ Enter . A list of all the available commands will be displayed.
find
command could be used in windows cmd to find line count (with the /c
switch), word count etc.
http://rickardnobel.se/counting-lines-in-windows-command-prompt/
The closest I know of is the PowerShell equivalent Measure-Object.
"Find" will be able to do the task similar to word count as RRM told.
Eg.
Query user | find /v /c ""
/v – Show any lines that don’t contain the string of words you specified. /c - Count the number of lines that matches the word in fine.
Query user | find /i "active" /c
/i - Ignore case /c - Count the number of lines that matches the word in fine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With