"错误"应用程序被固定到任务栏(Windows 7) [英] "Wrong" app gets pinned to taskbar (Windows 7)

查看:266
本文介绍了"错误"应用程序被固定到任务栏(Windows 7)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个通过快捷方式启动的应用程序。这个应用程序比使用CreateProcess()启动Java GUI应用程序。

I have an application that gets started via a shortcut. This application than starts a Java GUI application with CreateProcess().

当Java应用程序被固定到任务栏时,javaw.exe被固定到任务栏而不是预期的捷径。只能修改启动Java的本机可执行文件 - 快捷方式必须保留。

When the Java application gets pinned to the taskbar the javaw.exe gets pinned to the taskbar instead of the "expected" shortcut. Only the native executable which launches Java can be modified - the shortcut has to stay.

必须完成哪些操作才能使快捷方式固定?

What has to be done so that the shortcut gets pinned?

谢谢,
Stefan

Thanks, Stefan

推荐答案

使用类似winrun4j的东西或创建.bat而不是使用快捷方式。

Use something like winrun4j or create a .bat instead of using a shortcut.

这篇关于"错误"应用程序被固定到任务栏(Windows 7)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆