open a cmd window and type 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 /f for 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\International hive 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

最新文章

  1. mysql 截取身份证出生日期
  2. Saltstack
  3. 查看Mysql实时执行的Sql语句
  4. PHP基本问题
  5. cadence16.6 中orcad导出网表时ERROR (ORCAP-5004)
  6. ios开发——实用技术篇Swift篇&系统声音
  7. 【转】Getting xrdp to work on CentOS 6.4
  8. linux-网络数据包抓取-tcpdump
  9. 关于 target="_blank"漏洞的分析
  10. W班-项目选题报告成绩
  11. 关于Python常见功能使用的博客收藏
  12. s1 Linux 硬件基础
  13. Linux命令(二十七) 用户组管理命令
  14. Spring cloud 微服务架构 Eureka篇
  15. 2018.08.30 NOIP模拟 graph(dfs序/树剖+线段树)
  16. 什么是SOA
  17. 更新ffmpeg
  18. a7
  19. ECMAScript6教程目录
  20. 自己封装了的AlertController

热门文章

  1. 生存分析与R
  2. 写下thinkphp5和thinkphp3.2的不同
  3. 安装vue.js
  4. 单网卡用双IP上内外网
  5. 前端-javascript-DOM(重点)文档对象模型
  6. TCP/IP知识总结(TCP/IP协议族读书笔记四)
  7. @Repository , @Service , @Controller 和 @Component
  8. java工程中不能存在多个数据库连接jar包
  9. LeetCode关于数组中求和的题型
  10. Openning SharePoint - 80 website gives HTTP 404 Error, The webpage cannot be found ! on SharePoint 2013