在Windows资源管理器中为外部驱动器设置自定义图标

Ok, I like my icons. You arrange your desk perhaps, shuffle papers, I update things with totally unneeded icons. A while back I made, ahem, these awesome Visual Studio Command Prompt and PowerShell icons with Overlays because, frankly, pretty icons make life better.

好的,我喜欢我的图标。 也许您安排办公桌,随机播放纸张,我使用完全不需要的图标来更新内容。 不久以前,我制作了这些很棒的带有Overlays的Visual Studio Command Prompt和PowerShell图标,因为坦率地说,漂亮的图标使生活变得更好。

I did these back in the day.

我是在白天做这些的。

I even did a little one for the system menu, 'cause that's how I roll.

我什至为系统菜单做了一个小动作,因为那是我滚动的方式。

image

I just bought a nice 3 Terabyte Seagate USB3 External Drive that I'm very happy with, but I noticed that it had an awesome icon. This epic icon was was making my other drives jealous. This, of course, cannot stand, Dear Reader.

我刚刚买了一个很好的3 Terabyte Seagate USB3外置驱动器,但是我注意到它有一个很棒的图标。 这个史诗般的偶像让我的其他硬盘嫉妒。 亲爱的读者,这当然不能忍受。

Easily fixed, friends.

轻松解决,朋友。

Create a text file in the root of each drive called Autorun.inf with contents like this:

在每个名为Autorun.inf的驱动器的根目录中创建一个文本文件,其内容如下:

[autorun]
icon=\CustomIcon.ico

Any icon you like will do. You may need to reboot to see the changes. Now my externals are making my internals look bad!

您喜欢的任何图标都可以。 您可能需要重新启动才能看到更改。 现在我的外部构造使我的内部构造看起来很糟!

Enjoy!

请享用!

翻译自: https://www.hanselman.com/blog/setting-a-custom-icon-for-your-external-drives-in-windows-explorer

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值