gettype for XP?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

H

I've been using the RK tool "gettype.exe" to give me the OS version for deployment of patches etc., through a login script. But the Windows 2000 version of this .exe doesn't detect XP or 2003 and so I can't distinguish those OSes. While I'm aware there are other ways of detecting the OS, please focus only on this question: where can I get the version of "gettype.exe" that supports XP and 2003. The MS web site gives syntax for this new version but I can't find it anywhere - not even in ms MSDN Universal subscription

Any help greatly appreciated!
 
Not having used gettype I am not entirely sure what it does but to find out your entire system info including the OS build number and BIOS etc. go>start\all programs\accessories\system tools\system info and you will get all the info you need to obtain patches and updates. Good luck.
 
Just did a quick search for gettype and found that it is put out by PHP and the following link has all the latest updates and downloads for XP. http://www.php.net/downloads.php This was done in under 30 seconds and you could have done the same by doing a simple search. In this case I have my IE setup to search from the address bar so I don't have to open a search window every time I want to look for anything on the internet. Then all I did was type in gettype and then hit enter on the keyboard or click the go button if you have it on your toolbar. This took me to 20,136 suggestions for gettype. Then look for what you want under those 20 thousand some odd sites. Good luck.
 
John said:
I've been using the RK tool "gettype.exe" to give me the OS version for deployment of patches etc., through a login script. But the Windows 2000 version of this .exe doesn't detect XP or 2003 and so I can't distinguish those OSes. While I'm aware there are other ways of detecting the OS, please focus only on this question: where can I get the version of "gettype.exe" that supports XP and 2003. The MS web site gives syntax for this new version but I can't find it anywhere - not even in ms MSDN Universal subscription.

Hi

I suggest you use the free OsVer.exe instead:

http://mywebpages.comcast.net/stewartb/wast.html


Alternatively:

From: David Wang [Msft] ([email protected])
Subject: Re: Determining OS type for XP and batch questions
Newsgroups: microsoft.public.windows.server.scripting
Date: 2003-08-29 17:33:43 PST

<quote>
I use this for W2K and above:

FOR /f "tokens=3 delims=.]" %%i IN ('ver') DO SET OS_BUILDNUMBER=%%i

2195 = W2K
2600 = WXP
3790 = WS03

</quote>
 
Back
Top