Discussion forum for all Windows batch related topics.
Moderator: DosItHelp
-
tinfanide
- Posts: 117
- Joined: 05 Sep 2011 09:15
#1
Post
by tinfanide » 27 Feb 2012 04:22
I can get Office 14 info (e.g. Product Key) in CMD
Code: Select all
C:\Program Files\Microsoft Office\Office14>cscript ospp.vbs /dstatus
But it does not work in an enviornment where Office 12 is installed.
-
Squashman
- Expert
- Posts: 4473
- Joined: 23 Dec 2011 13:59
#2
Post
by Squashman » 28 Feb 2012 17:06
Correct. That vbscript is only for Office 2010.
-
tinfanide
- Posts: 117
- Joined: 05 Sep 2011 09:15
#3
Post
by tinfanide » 28 Feb 2012 20:40
Squashman wrote:Correct. That vbscript is only for Office 2010.
I've done a bit of research online and found people normally cannot get the protected product keys of Office 14-. Some people do it with some utility. I wonder if I can do it thru DOS Command or go into the regedit.exe to get it.
Now I need to check the computer's Office and Windows product key to see if the office is activated and licensed.