O Oni Jan 12, 2009 #1 Is it possible to extract the language version of Windows XP using a batch script. Any help will be appreciated.
Is it possible to extract the language version of Windows XP using a batch script. Any help will be appreciated.
O Oni Jan 13, 2009 #2 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 Click to expand...
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 Click to expand...
Z _Z Jan 13, 2009 #3 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_". Click to expand... Steve, Or use ' _' to break long lines (also helps readability): Set colItems = objWMIService.ExecQuery("Select * From _ Win32_OperatingSystem")
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_". Click to expand... Steve, Or use ' _' to break long lines (also helps readability): Set colItems = objWMIService.ExecQuery("Select * From _ Win32_OperatingSystem")
O Oni Jan 13, 2009 #4 Thanks ;-)) -- Regards Oni Steve Yandl said: http://msdn.microsoft.com/en-us/library/aa394239.aspx Scroll down to the "OSLanguage" section. Steve Yandl Click to expand...
Thanks ;-)) -- Regards Oni Steve Yandl said: http://msdn.microsoft.com/en-us/library/aa394239.aspx Scroll down to the "OSLanguage" section. Steve Yandl Click to expand...