侧边栏壁纸
  • 累计撰写 25 篇文章
  • 累计创建 26 个标签
  • 累计收到 2 条评论

目 录CONTENT

文章目录

移除新建快捷方式后添加的快捷方式字样

Yttrium
2024-07-20 / 0 评论 / 0 点赞 / 17 阅读 / 1978 字

移除新建快捷方式后添加的快捷方式字样

Remove shortcut suffix on new shortcut

中文搜索结果通常返回的是移除快捷方式的小箭头, 但是我的目的不是这个, 快捷方式的小箭头可以清晰的指示该文件是否为快捷方式, 所以我不会移除它, 取而代之的是我需要移除添加快捷方式后自动添加的快捷方式后缀.

Shortcut arrow indicates a file whether a shortcut or not, thus I'd like to keep it. a suffix when added a shortcut is what actually I want to removed.

在注册表左侧面板中找到 HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates 项, 如果没有 NamingTemplates 则手动创建.

In the left pane, go to the HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates key. If you don't have the NamingTemplates subkey, then create it manually.

在右侧面板中创建名为 ShortcutNameTemplate 的字符串.

Now, in the right pane, create a new ShortcutNameTemplate string(REG_SZ) value.

双击刚刚创建的字符串值, 设置值为"%s.lnk" , 需要引号.

Double-click it and set its value data to "%s.lnk". Quotes are required!

修改是实时生效的, 你可以查看效果了.

The changes will take effect immediately.

source: https://winaero.com/disable-the-shortcut-text-addition-for-shortcuts-in-windows-11/

如果想要恢复箭头图标, 可以删除 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons 下, 名为 29 的字段, 如果不奏效, 再到网上搜搜吧.

0

评论区