[BAT]批处理自动修改区域和语言选项
2014-07-03 15:06
731 查看
open a cmd window and type
Then to modify them, use
For example:
reg query "HKCU\Control Panel\International
REG ADD "HKCU\Control Panel\International" /t REG_SZ /v LocaleName /d en-GB /f
REG ADD "HKCU\Control Panel\International" /t REG_SZ /v sCountry /d "United Kingdom" /f
The other option is to just export the
You may need to refresh the registry after the import to see the changes. This usually involves a reboot but try adding the following as the last line in your batch file instead.
reg query "HKCU\Control Panel\International"which will show you the values as you want them.
Then to modify them, use
REG ADD "HKCU\Control Panel\International" /t REG_SZ /v LocaleName /d es-Mx /ffor each value replacing what is after /v with the appropriate name and what is after /d with the appropriate value.
For example:
reg query "HKCU\Control Panel\International
REG ADD "HKCU\Control Panel\International" /t REG_SZ /v LocaleName /d en-GB /f
REG ADD "HKCU\Control Panel\International" /t REG_SZ /v sCountry /d "United Kingdom" /f
The other option is to just export the
HKCU\Control Panel\Internationalhive to a .reg file and just import it into the registry using
regedit /s ImportFile.reg
You may need to refresh the registry after the import to see the changes. This usually involves a reboot but try adding the following as the last line in your batch file instead.
RUNDLL32.EXE USER32.DLL,UpdatePerUserSystemParameters ,1 ,True
相关文章推荐
- XP自动关闭高级文字服务,语言栏不能显示,也不能在区域和语言选项中更改过来
- win7 批处理自动 修改本地IP地址、无线IP地址.bat
- windows自动任务计划执行批处理文件(.bat)报错DNS服务器对区域没有权威
- win7 批处理自动 修改本地IP地址、无线IP地址.bat
- 自动修改IP地址的批处理文件
- 如何修改Vista系统的默认语言以及系统时间区域,格式
- 批处理(bat文件)自动启动/关闭oracle服务
- 用批处理(.BAT)自动设置计算机名IP地址DNS
- win7 批处理自动 修改本地IP地址、无线IP地址
- Oracle 10g数据库自动备份[批处理.bat]
- 关于“区域与语言选项”的问题
- 自动修改电脑IP地址.bat
- 6个Linux chkconfig命令实例 - 增加,删除,查看和修改services的自动启动选项
- [转载]用 bat 批处理 实现自动telnet
- windows7 bat自动批处理改变IP地址、DNS和代理设置
- 用批处理(.BAT)自动设置IP地址、子网掩码、网关、DNS
- WIN API-VFP更改Windows的区域选项:(长)日期格式(分隔符),时间格式(分隔符)[参考:控制面板-区域和语言选项-区域选项]
- IP自动修改Bat
- 用C#代码修改区域与语言的短日期格式