Results 1 to 4 of 4
  1. #1
    New Lounger
    Join Date
    Aug 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    WordCount from Command Line (worrd2003)

    Hi, I would like to know if there is any way to count the words of a document from the command line, I mean without opening the document going to Tools, and Word Count and so on.
    Thanks

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: WordCount from Command Line (worrd2003)

    Welcome to Woody's Lounge!

    Right-click a Word document in Windows Explorer.
    Select Properties from the popup menu.
    Activate the Summary tab.
    You should see the number of words, characters, lines and paragraphs.

    If you really meant the command line in an command prompt window: I don't know of any way to get at the word count that way.

    If you meant something else, please post back.

  3. #3
    New Lounger
    Join Date
    Aug 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: WordCount from Command Line (worrd2003)

    Hans,

    Thank you very much for answering that fast.
    Your answer helped me but I meant from the command line.
    Anyway with what you explained its much faster than opening the doc -> Tools -> etc.

    Thanks again

  4. #4
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: WordCount from Command Line (worrd2003)

    Microsoft offers a DLL that lets you access certain properties from a script. See Microsoft TechNet column: Tales from the Script - March 2005: Dsofile: The Untold Story for sample code.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •