winShell.createUrlShortcut

Syntax winShell.createUrlShortcut (path, url)

Params path is the path on disk to the new shortcut file.

url is the url the new shortcut should point to.

Action Creates an Internet Shortcut at path linking to the url.

Returns True.

Examples winShell.createUrlShortcut ("C:\\Scripting News.url", "http://news.userland.com/")

   » true

Notes It's up to the caller to be sure there's a .url suffix at the end of path.

This verb is Windows-specific; it's implement by a VBScript script.

This verb requires that the Microsoft Script Control and Windows Scripting Host are installed.

This verb is new in Frontier 6.0.

See Also winShell.createShortcut

Discuss