-
March 2nd, 2006, 10:30 PM
#1
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!
-
March 2nd, 2006, 11:28 PM
#2
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.
-
March 2nd, 2006, 11:38 PM
#3
in most programs go to the "help" tab and at the bottom of that it should say "about" and give u a version number
-
March 2nd, 2006, 11:39 PM
#4
edit/ i didnt read ur question all the way thru sorry. disreguard my previous post.
-
March 2nd, 2006, 11:44 PM
#5
LOL, ok mate np! Thanks RC!
-
March 2nd, 2006, 11:45 PM
#6
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)
-
March 3rd, 2006, 07:47 PM
#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
-
Forum Rules
|
|