Desktop\_CreateWebLink
Description
Section titled “Description”Creates a shortcut on in a specified location
Syntax
Section titled “Syntax”Desktop_CreateWebLink(sShortcutFileName, sTargetURL, sLocation)
Parameters
Section titled “Parameters”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
Return value
Section titled “Return value”Boolean, TRUE if function completed successfully.
Example
Section titled “Example”VBScript
'Creates a web link on all users desktop to capainstaller.comIf bStatus Then bStatus=Desktop_CreateWebLink("CapaInstaller", "www.capainstaller.com", Folder_AllUsersDesktop)Related functions
Section titled “Related functions”