惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
T
Threatpost
阮一峰的网络日志
阮一峰的网络日志
美团技术团队
F
Fortinet All Blogs
The GitHub Blog
The GitHub Blog
月光博客
月光博客
V
Visual Studio Blog
T
Tailwind CSS Blog
Stack Overflow Blog
Stack Overflow Blog
博客园 - 聂微东
Jina AI
Jina AI
J
Java Code Geeks
Martin Fowler
Martin Fowler
大猫的无限游戏
大猫的无限游戏
Recorded Future
Recorded Future
C
Check Point Blog
腾讯CDC
N
Netflix TechBlog - Medium
aimingoo的专栏
aimingoo的专栏
罗磊的独立博客
Hacker News: Ask HN
Hacker News: Ask HN
SecWiki News
SecWiki News
博客园 - Franky
Hacker News - Newest:
Hacker News - Newest: "LLM"
N
News | PayPal Newsroom
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
S
Security @ Cisco Blogs
W
WeLiveSecurity
The Last Watchdog
The Last Watchdog
Cloudbric
Cloudbric
F
Full Disclosure
The Cloudflare Blog
Y
Y Combinator Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Google DeepMind News
Google DeepMind News
MongoDB | Blog
MongoDB | Blog
S
Schneier on Security
Schneier on Security
Schneier on Security
Spread Privacy
Spread Privacy
L
LINUX DO - 热门话题
AI
AI
N
News and Events Feed by Topic
T
Tor Project blog
P
Palo Alto Networks Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
H
Hackread – Cybersecurity News, Data Breaches, AI and More
G
Google Developers Blog

博客园 - DiryBoy

修复运行 tasklist 命令时提示 ERROR: Not found 删除坏掉的 Active Directory Domain 为 WSUS 服务器定期运行清理向导 为 Exchange 服务器编写自定义的反垃圾插件 Windows 10 下安装 npm 后全局 node_modules 和 npm-cache 文件夹的设置 Setting up SSL for SCM-Manager with Microsoft CA and TortoiseHg Installing SCM-Manager Win 7 装 SQL Server 2008 后使用 Asp.Net 需要进行的一些配置 为 IE8 写一个转跳加速器 WPF 实现已绑定集合项目的移除时动画过渡 成功在 Win 7 下用 VirtualBox 装 Win 7,分享一些经验 如何写递归的 Lambda 表达式 使用动态生成的委托提高调用动态程序集的性能 在 Azure 中部署支持 MVC 的 Asp.Net 应用程序 DIY 自己的多点触摸系统 未来就在眼前 用 C# 实现的前缀树 - Trie 自己改造 VSPaste 插件 用C# 写的龙贝格(Romberg)积分法
在 Win10 命令行使用 Consolas + 微软雅黑
DiryBoy · 2015-12-05 · via 博客园 - DiryBoy

这个过程挺神奇的,步骤参考了下面两篇文章,但是过程很曲折:

    1. 使用Monaco和微软雅黑字体美化cmd和PowerShell

    2. [zz]Windows的cmd.exe使用consolas加中文雅黑字体的方法

    -

    建议先看看第一篇,在不断尝试以后我总结出一个可以稳定重复的步骤:

    1. 看注册表 HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont,确认 0 或者 00 这种名字的值里面有 Consolas,然后找到 936 这项,把值弄成一个不存在的字体的名字

    2. 去注册表 HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink,添加一个 REG_MULTI_SZ,名字为 Consolas,内容为 MSYH.TTC,微软雅黑,128,96

    3. 去注册表 HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\RasterFonts,添加一个 REG_SZ, 名字为 微软雅黑,内容为 msyh.ttc

    4. 开 cmd,运行 chcp 437,右键点左上角进入属性,把字体设置为 Consolas,OK,然后关掉 cmd

    5. 再次打开 cmd,运行 chcp 936,右键点左上角进入属性页,但什么都不要动直接点 OK,然后关掉 cmd

    6. Sign out 系统,然后 Sign in 回来,让第二第三步的设置生效,搞定!

    7. 尽量不要再去动 cmd 的选项了,动了可能字体又会变回来,不过可以重复第四第五步把它弄回来。

    -

    在探索的过程中发现 Win10 的命令行还支持半透明,所以想改其他设置的话,先改了,最后才改字体,以免麻烦。