Create an Internet shortcutTag(s): Misc Prog HowTo
An Internet shortcut is simple text file with the .URL extension.
A link to Google looks like this :
[InternetShortcut] URL=http://www.google.com IconFile=http://www.google.com/favicon.ico IconIndex=0
From a batch file, you can do something like this :
echo [InternetShortcut] > "%userprofile%\Desktop\Google.URL" echo URL=http://www.google.com >> "%userprofile%\Desktop\Google.URL" echo IconFile=http://www.google.com/favicon.ico >> "%userprofile%\Desktop\Google.URL" echo IconIndex=0 >> "%userprofile%\Desktop\Google.URL"
See this HowTo to see how to do it in Java.
Shortcut to a program locally installed can be created with a VBScript, see this HowTo.