Java – create shortcut icon on Windows Desktop

How do I create a Windows shortcut alias for an existing EXE file in a Java application?

Solution

Windows shortcuts are beasts You can use jshortcut http://alumnus.caltech.edu/ ~Jimmc / jsshortcut /, which uses JNI (Java Native Interface) to create shortcuts If you are only executing the quick utility, you can also use runtime Exec() to call vb script

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>