Run Prompt Command?
Results 1 to 7 of 7

Thread: Run Prompt Command?

  1. #1
    Right turn Clyde Nokia's Avatar
    Join Date
    Aug 2003
    Location
    Button Moon
    Posts
    1,696

    Question Run Prompt Command?

    Does anyone know of a run prompt command similar to "winver" that will give the version of office programs, I.E. Word, outlook etc?

    I know there are other ways to get the version but I am trying to find a way to do it from the run prompt.


    Thanks in advance!
    Drugs have taught an entire generation of kids the metric system.

    http://tazforum.**********.com/

  2. #2
    Senior Member RoadClosed's Avatar
    Join Date
    Jun 2003
    Posts
    3,834
    winmsd and msinfo32
    West of House
    You are standing in an open field west of a white house, with a boarded front door.
    There is a small mailbox here.

  3. #3
    AO's Resident Redneck The Texan's Avatar
    Join Date
    Aug 2003
    Location
    Texas
    Posts
    1,539
    in most programs go to the "help" tab and at the bottom of that it should say "about" and give u a version number
    Git R Dun - Ty
    A tribe is wanted

  4. #4
    AO's Resident Redneck The Texan's Avatar
    Join Date
    Aug 2003
    Location
    Texas
    Posts
    1,539
    edit/ i didnt read ur question all the way thru sorry. disreguard my previous post.
    Git R Dun - Ty
    A tribe is wanted

  5. #5
    Right turn Clyde Nokia's Avatar
    Join Date
    Aug 2003
    Location
    Button Moon
    Posts
    1,696
    LOL, ok mate np! Thanks RC!
    Drugs have taught an entire generation of kids the metric system.

    http://tazforum.**********.com/

  6. #6
    Senior Member
    Join Date
    Mar 2004
    Posts
    557
    Hi

    I assume you want a tool that just prints the version
    to the command console...what about some small script like

    Code:
    Set objWord = CreateObject("Word.Application")
    Wscript.Echo "Build: " & objWord.Build
    objWord.Quit
    Save as office_ver.vbs and run with
    Code:
    >cscript /nologo office_ver.vbs
    Example taken from [1].

    Cheers

    [1] http://www.microsoft.com/technet/scr...5/hey0110.mspx
    If the only tool you have is a hammer, you tend to see every problem as a nail.
    (Abraham Maslow, Psychologist, 1908-70)

  7. #7
    I had a quick look on the MS site but there doesn't seem to be an Office equivalent of winver.

    If you just wanted to check basic details about the version of Office (e.g. 2000/XP/2003) I guess you could write a little batch script to check what folder is present in C:\Program Files\Microsoft Office on the machine in question.

    If it's Office 2002, there'll be an 'Office 10' folder, 2003 will be Office 11, etc.

    However, if you want the full version number, I'm not so sure how you'd do that without going to Help->About. I guess it might be possible with a little visual basic script to interrogate the file version of winword.exe (or excel.exe, etc.) but I'm no good at visual basic I'm afraid

    There is no one line command that will give you that info. Here are some suggestions for scripts:

    Windows scripting host:


    Windows Management Interface:


    Specific version/service pack level:


    Hope it helps....

Posting Permissions

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