Word Count is a simple utility which enables you to count the number of characters, words and lines in text files.
Usage: WC {Switches} <File Spec> Drive Spec(s)
Note : If no file specification is entered, all files are listed. If drive specifications are entered then those drives are searched. If no drive specifications are entered then the current drive is searched.
Word Count is a simple utility which enables you to count the number of characters, words and lines in text files. It lists the individual characters, words and lines of each file as well as the totals of each.
WC will scan all logical disk drives defined by the system, starting at drive A:. The drives are scanned in order, starting at A:, then B: and so on.
WC will scan all logical disk drives defined by the system, starting at drive C:. The drives are scanned in order, starting at C:, then D: and so on.
WC will include subdirectories as part of its search of the specified disk drives. If a subdirectory name is included as part of the file specification, then the search will include that subdirectory and all subdirectories below it. If no subdirectory is given as part of the file specification, then the current directory and all subdirectories below it are included in the search.
WC *.cWC will look for all .C files and list the number of lines, words and characters in each, as well as the total number of lines, words and characters.
WC C:\*.TXT /sWC will display the number of characters, words and lines of all .TXT files on drive C:.