指定开始菜单快捷方式的顺序

发布于 2024-07-18 13:40:31 字数 240 浏览 5 评论 0原文

我在程序菜单中为一些 exe 文件创建了快捷方式。 例如,我可能会为 a.exe、v.exe 和 g.exe 创建快捷方式。 默认情况下,它对齐为 a、g、v(按字母顺序)。 我想以不同的顺序放置快捷方式,例如 (v, a, g)。

简而言之,我希望能够将其创建的快捷方式的顺序更改为字母顺序以外的顺序。

我在 vb 中使用 wshshellobject。 我创建了一个dll; 通过它我创建了我的快捷方式

I created shortcuts for some of my exe's in the program menu. For example, I might create shortcuts for a.exe, v.exe, and g.exe. By default, it aligns as a, g, v (in alphabetical order). I want to place my shortcuts in a different order, such as (v, a, g).

In short, I want to be able to change the order for the shortcuts it creates to something other than alphabetical order.

I am using wshshellobject in vb. I created a dll; through that I created my shortcuts

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

层林尽染 2024-07-25 13:40:31

假设您正在尝试修改“开始”菜单上快捷方式的顺序,我不确定这是否可以通过编程来完成(这很遗憾 - 我通过键入以下命令启动了 Vista/7 中许多应用程序的卸载程序他们的名字,不看就打!)。

微软的 Raymond Chen 前段时间在他的博客上发布了这样的内容:

经典的“开始”菜单和“全部
Windows XP 的“程序”部分
开始菜单允许您自定义
快捷方式出现的顺序
那里。 您可以使用拖放来
重新排列它们,或者强迫它们
按名称排序。 但为什么没有
这些的编程接口
行动?

因为电力将用于
邪恶远远超过它的用途
永远。

更多信息请点击这里:
http://blogs.msdn.com/b/oldnewthing /archive/2006/06/19/636823.aspx

Assuming you're trying to modify the order of your shortcuts on the Start Menu, I'm not sure this is possible to do programatically (which is a shame - I've fired up the uninstallers for many apps in Vista/7 by typing their names and just hitting without looking!).

Microsoft's Raymond Chen posted this on his blog some time ago:

The classic Start menu and the "All
Programs" portion of the Windows XP
Start menu permit you to customize the
order of the shortcuts that appear
there. You can use drag/drop to
rearrange them, or force them to be
sorted by name. But why is there no
programmatic interface to these
actions?

Because the power would be used for
evil far more than it would be used
for good.

More info here:
http://blogs.msdn.com/b/oldnewthing/archive/2006/06/19/636823.aspx

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文