Jump to content

@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

Link to post
Share on other sites
  • 2 months later...
  • 8 months later...

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!

Link to post
Share on other sites
  • 3 weeks later...

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

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!

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...