Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> Visual Basic >> Snippet

Create URL shortcut


'create a text file With two lines (use your own URL)
Open "c:\myurl.url" For Output As #1
Print #1, "[InternetShortcut]"
Print #1, "URL= http://www.microsoft.com /"
Close #1