hi
In the past I was able to Apply XML file with cmd in system and can change windows change language settings with xml file.
now i can not remember how and with which command?
Apply XML File To System In CMD
Moderator: DosItHelp
Re: Apply XML File To System In CMD
Hmm, something like that:
http://msdn.microsoft.com/en-us/goglobal/bb964664.aspx
This should work under Win7. But as far as I know MS changed the general behavior for Win8 as I read there:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms646305(v=vs.85).aspx
Regards
aGerman
Code: Select all
@echo off &setlocal
call :changeKL 0409
goto :eof
:changeKL LCID
>"%temp%\config.xml" (
echo ^<gs:GlobalizationServices xmlns:gs="urn:longhornGlobalizationUnattend"^>
echo ^<gs:UserList^>
echo ^<gs:User UserID="Current"/^>
echo ^</gs:UserList^>
echo ^<gs:InputPreferences^>
echo ^<gs:InputLanguageID Action="add" ID="%1:0000%1" Default="true"/^>
echo ^</gs:InputPreferences^>
echo ^</gs:GlobalizationServices^>
)
control intl.cpl,, /f:"%temp%\config.xml"
del "%temp%\config.xml"
goto :eof
http://msdn.microsoft.com/en-us/goglobal/bb964664.aspx
This should work under Win7. But as far as I know MS changed the general behavior for Win8 as I read there:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms646305(v=vs.85).aspx
Regards
aGerman