Jump to content
Sign in to follow this  
MePHiTiC

@OSServicePack returned values

Recommended Posts

I'm just curious what are all of the values can/will be returned by @OSServicePack? Say on Win95, Win98, WinMe, Win2K, WinXP, Win2k3, etc.

I know on my WinXP SP2 machine I get "Service Pack 2". But what about the other OS's and what if there isn't a SP installed?

Thanks!

MePH

Share this post


Link to post
Share on other sites

Bump.

I'm curious about this as well. Am I missing something in the help file that shows this?

Share this post


Link to post
Share on other sites

Hi.

I'm jus using the kids Win98SE old-games-computer. All WindowsUpdate available patches are installed.

@osservicepack="A"

DOS BOX:

Microsoft(R) Windows 98
   (C)Copyright Microsoft Corp 1981-1999.

C:\WINDOWS\Desktop>ver

Windows 98 [Version 4.10.2222]

Regards, Rudi.


Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Share this post


Link to post
Share on other sites

Sorry to bump this again... I need to know if anyone knows what the Win 2000 service packs show up as...

Please post the value for @OSSERVICEPACK for Win 2000 Sp1, SP2, SP3, and SP4 .... thanks... I will have to load these OSes if I don't get a respond... so anyone with knowledge can save me gobs of time.... thanks again...

Lar.


f_mrcleansmalm_77ce002.jpgAutoIt has helped make me wealthy

Share this post


Link to post
Share on other sites

Hi.

Sorry to bump this again... I need to know if anyone knows what the Win 2000 service packs show up as...

Please post the value for @OSSERVICEPACK for Win 2000 Sp1, SP2, SP3, and SP4 .... thanks...

Windows 2000 Serivepack 4 gives this:

"Service Pack 4"

So I think it's very likely the others will give "Service Pack 3", ....

For Win2kSP4 the CMD box reports this:

C:\>ver

Microsoft Windows 2000 [Version 5.00.2195]

C:\>

regards, rudi.


Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...