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 :

You can create it with a regular text editor, just make sure that you give a filename with a .URL extension.

From a batch file, you can do something like this :

echo [InternetShortcut] > "%userprofile%\Desktop\Google.URL"
echo URL= >> "%userprofile%\Desktop\Google.URL"
echo IconFile= >> "%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.

blog comments powered by Disqus