zoukankan      html  css  js  c++  java
  • [BAT]批处理自动修改区域和语言选项

    open a cmd window and type reg query "HKCUControl PanelInternational" which will show you the values as you want them.

    Then to modify them, use REG ADD "HKCUControl PanelInternational" /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 "HKCUControl PanelInternational
    REG ADD "HKCUControl PanelInternational" /t REG_SZ /v LocaleName /d en-GB /f
    REG ADD "HKCUControl PanelInternational" /t REG_SZ /v sCountry /d "United Kingdom" /f

    The other option is to just export the HKCUControl PanelInternational 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

  • 相关阅读:
    隔离级别
    分析Hello2代码
    正则表达式
    Filter and servlet
    部署描述符
    Annotation
    LDAP and Implementation
    Restful levels and Hateoas
    servlet injection analysis
    隔离级别
  • 原文地址:https://www.cnblogs.com/MasterMonkInTemple/p/3822428.html
Copyright © 2011-2022 走看看