Create a shortcut (LNK) to an application.
First available in version 3.0 build 2039.
shortcutFile - A fully qualified path to the link file you want to create. The file must have an extension of .LNK to be recognized by Windows. This parameter supports monikers.
description - [Optional] - Text that will appear in the shortcut comments/description field.
source - A fully qualified path to the target application for the shortcut. The specified target file must exist. This parameter supports monikers.
workDir - [Optional] - A fully qualified path that will be used as the working directory for the target application. This parameter supports monikers.
arguments - [Optional] - Arguments that will be passed to the target application at startup.
iconFile - [Optional] - A fully qualified path to an ICO file for the shortcut. This parameter supports monikers.
iconIndex - [Optional] - Index number for the icon within the supplied 'IconFile'. Default value is 0.
show - [Optional] - The startup mode for the application. Valid values include: Normal,Minimized,Maximized. Default value is Normal.
No output parameters.
When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.
The following example creates a shortcut on the user's desktop that opens an executable file in the Program Files directory. The application will open maximized.
description:"Starts the SuperApp application.",