Batch script to confirm xp language version.

  • Thread starter Thread starter Oni
  • Start date Start date
O

Oni

Is it possible to extract the language version of Windows XP using a batch
script.

Any help will be appreciated.
 
Where did you pull all the "Case" lines from?

Thanks for helping out ;-)

--
Regards
Oni


Steve Yandl said:
One of the lines near the top got broken in posting.

Set colItems = objWMIService.ExecQuery("Select * From
Win32_OperatingSystem")

should all be on a single line in your script with a single space between
"From" and "Win32_".


Steve Yandl
 
Steve Yandl said:
One of the lines near the top got broken in posting.
Set colItems = objWMIService.ExecQuery("Select * From
Win32_OperatingSystem")
should all be on a single line in your script with a single space between
"From" and "Win32_".

Steve,
Or use ' _' to break long lines (also helps readability):

Set colItems = objWMIService.ExecQuery("Select * From _
Win32_OperatingSystem")
 
Back
Top