Mady Mady - 1 year ago 217
Java Question

Create shortcut in windows programmatically

Is there a way to create link in windows?

I found samples that use

or one has to do download

I need a simple solution. Is that possible?

Answer Source

Well, I had to use Shortcut.exe to create shortcut but actually what I needed was a HardLink to a folder but Shortcut.exe would create a SoftLink.
Eventually I used junction.exe to create the HardLink.
Check this post for more information How to create symbolic links in Windows?

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download