dotcom
Feb 29 2004, 07:58 AM
A company I do work for operates a call center and I am trying to script some actions for them but the problem is that their are 3 basic setups:
1. Win2k/XP with US English
2. Win2k Spanish
3. Win2k English with the spanish language thing (I am a complete blank on its name atm, a MS built-in)
So I am trying to determine by remote which are actually Spanish O/S and which are English with the Spanish Lang. addon.... Will make scripting events like software rollouts and service pack installs easier I was thinking with this knowledge...Hope this makes sense to you all...thanks for the ideas & assistance
demesmaeker
Mar 1 2004, 04:16 PM
you could make a batch file with in the batchfile a batch that exports the part of the registry where you can find the language or language code and followed by:
type export.reg | find "language= " > new.txt (or something that makes only that line of the registry visible)
set /p language=<new.txt
if %language% = "spanish" then goto XX
if %language% = "english" then goto XY
etc? maybe that solves your problem a bit?
if you want to find out remote, you can put this in the loginscript, and export the hostname from the registry as a filename , so you get a dir with all hostnames.txt with the language in it...
dotcom
Mar 2 2004, 10:00 PM
looks good thank you for the reply....while doing some digging myself I find:
| CODE |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WOW\boot.description] "language.dll"="English (American)"
|
Looks like this will do the trick thank you for your assist
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.