Shell.DeleteShortcut

Shell.DeleteShortcut ( 

string Folder,

string Description )

Example 1

Shell.DeleteShortcut(_DesktopFolder, "My Shortcut");

Removes the shortcut from the user's Desktop, whose name (description) is "My Shortcut."

Note: _DesktopFolder is a built-in variable that contains the path to the user's "Desktop" folder.

See also:  Related Actions