robie2011
4/30/2014 - 1:48 PM

DOS Snippets

DOS Snippets

set file="%temp%\locale_de-DE.xml"
echo ^<gs:GlobalizationServices xmlns:gs="urn:longhornGlobalizationUnattend"^> ^<!--User List--^> ^<gs:UserList^> ^<gs:User UserID="Current"/^> ^</gs:UserList^> ^<!--User Locale--^> ^<gs:UserLocale^>  ^<gs:Locale Name="de-DE" SetAsCurrent="true"/^>  ^</gs:UserLocale^>^</gs:GlobalizationServices^>>%file%

control intl.cpl,, /f:%file%
del %file%
set file="%temp%\locale_de-CH.xml"
echo ^<gs:GlobalizationServices xmlns:gs="urn:longhornGlobalizationUnattend"^> ^<!--User List--^> ^<gs:UserList^> ^<gs:User UserID="Current"/^> ^</gs:UserList^> ^<!--User Locale--^> ^<gs:UserLocale^>  ^<gs:Locale Name="de-CH" SetAsCurrent="true"/^>  ^</gs:UserLocale^>^</gs:GlobalizationServices^>>%file%

control intl.cpl,, /f:%file%
del %file%