小编Sam*_*ery的帖子

在 autorun.inf 中使用来自 Windows DLL 的图标

我想使用 autorun.inf 将可移动驱动器的图标设置为内置 Windows DLL 中的图标。由于维基百科关于 Autorun.inf 的页面显示可以从 DLL 中获取图标并与索引一起使用,我认为以下方法可行(imageres.dll 的#54 是完整的回收站图标):

[autorun]
label=USB Drive
icon=%WINDIR%\System32\imageres.dll,54
Run Code Online (Sandbox Code Playgroud)

但事实并非如此。当我移除并再次插入设备时,该图标显示为默认的“未找到图标”图标。即使我对我的系统使用绝对路径C:\Windows\System32\imageres.dll,54,它也不起作用。这完全可以做到吗,如果可以,怎么做?

windows autorun

4
推荐指数
1
解决办法
1226
查看次数

标签 统计

autorun ×1

windows ×1