Her er et eksempel på, hvordan du kan lave en url fil (altså internet shortcut).
*************************************
Dim StrURLFile As String
Dim StrURLTarget As String
Dim FileNum As Integer
StrURLFile = "C:\fil.url"
StrURLTarget = "
http://adresse.dk"
FileNum = FreeFile
Open StrURLFile For Output As FileNum
Print #FileNum, "[InternetShortcut]"
Print #FileNum, "URL=" & StrURLTarget
Close FileNum