开发者

Creating a shortcut icon on the Windows desktop

开发者 https://www.devze.com 2023-03-08 18:08 出处:网络
How can I cr开发者_如何学Ceate a Windows shortcut alias for an existing exe file from within a Java application?Windows shortcuts are hoary beasts.You could use JShortcut http://alumnus.caltech.edu/~j

How can I cr开发者_如何学Ceate a Windows shortcut alias for an existing exe file from within a Java application?


Windows shortcuts are hoary beasts. You could use JShortcut http://alumnus.caltech.edu/~jimmc/jshortcut/, which used JNI (Java Native Interface) to create the shortcut. If you are just doing a quick utility you can also just use Runtime.exec() to call a VB script.

0

精彩评论

暂无评论...
验证码 换一张
取 消