Win32 for Java » Class com.roxes.win32.UrlFile
create program menu shortcutExcursion to the .url File Format

5.4.  manipulate program menu shortcut

The example manipulates a shortcut from the example before in the program menu. If the shortcut does not exist is will be created. A shortcut can be copied by calling UrlFile.save( file) as the example does. The copy of the example will be directly located in the program menu. To test the existence of a shortcut simply call File.exists().