create url shortcut

Allows you to create desktop shortcuts for applications or URLs.


Example

Running this code will create a shortcut in "Desktop" for the file named "file:///D:\test.jpg".

plugin command("Data and Files Automation.dll", "create url shortcut", "My File", "file:///D:\\test.jpg", $special folder("Desktop"))

Running this code will create a shortcut in "Desktop" for the URL named "https://ubotplugin.com/".

plugin command("Data and Files Automation.dll", "create url shortcut", "My Site", "https://ubotplugin.com/", $special folder("Desktop"))

Was this helpful?

Previous Article

create file shortcut

Next Article

file line insert