-
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!
-
-
in most programs go to the "help" tab and at the bottom of that it should say "about" and give u a version number
-
edit/ i didnt read ur question all the way thru sorry. disreguard my previous post.
-
LOL, ok mate np! Thanks RC!
-
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
-
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....