Page tree
Skip to end of metadata
Go to start of metadata

Creates a shortcut on in a specified location


Desktop_CreateWebLink(sShortcutFileName, sTargetURL, sLocation)


sShortcutFileName (String)

Name of the .Url file (e.g. Google.url)

sTargetUrl (String)

The url for the web page (e.g. www.google.com)

sLocation(String)

You can use Special folders Constants together with a path

 

Boolean, TRUE if function completed successfully.

 

VBScript
'Creates a web link on all users desktop to capainstaller.com
If bStatus Then bStatus=Desktop_CreateWebLink("CapaInstaller", "www.capainstaller.com", Folder_AllUsersDesktop) 

Scripting Guidelines

 

Desktop functions

  • No labels