[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
返回列表 发帖
解决Bat保存为UTF8时乱码
  1. reg add "HKCU\Console\%%SystemRoot%%_System32_cmd.exe" /f /v "CodePage" /t REG_DWORD /d 65001
  2. reg add "HKCU\Console\%%SystemRoot%%_System32_cmd.exe" /f /v "WindowSize" /t REG_DWORD /d 1572944
  3. reg add "HKCU\Console\%%SystemRoot%%_System32_cmd.exe" /f /v "FontSize" /t REG_DWORD /d 786432
  4. reg add "HKCU\Console\%%SystemRoot%%_System32_cmd.exe" /f /v   "FontFamily" /t REG_DWORD /d 54
  5. reg add "HKCU\Console\%%SystemRoot%%_System32_cmd.exe" /f /v "FontWeight" /t REG_DWORD /d 400
  6. reg add "HKCU\Console\%%SystemRoot%%_System32_cmd.exe" /f /v "FaceName" /t REG_SZ /d "Lucida Console"
复制代码

TOP

只要这2句就好 其它根据个人喜好
  1. reg add "HKCU\Console\%%SystemRoot%%_System32_cmd.exe" /f /v "CodePage" /t REG_DWORD /d 65001
  2. reg add "HKCU\Console\%%SystemRoot%%_System32_cmd.exe" /f /v "WindowAlpha" /t REG_DWORD /d 216
复制代码

TOP

注册表上看到16进制(把开也可切10进制)批处理是10进制

TOP

返回列表