Create Website (URL) Shortcut

This creates a URL file to create a web shortcut to any desired file.

Privileges

Normal

Input Parameters

Name Type Required Description
Shortcut To String Yes This is the url to be linked to. It can contain https://, or be simply www. As long as it is a valid URL.
Shortcut File Name String Yes This is the full path of the file. Note that the .URL extension is optional. If omitted, the object will add the extension for you.

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.
Result String String Object execution error details.

Example Input Parameters

Name Type Required Example
Shortcut To String Yes https://www.company.com
Shortcut File Name String Yes C:\temp\company.url