Create a shortcut on the user's system.

Your options include:

  • Specifying the command-line executable the shortcut invokes, any additional command-line parameters, and the working directory for the command-line arguments.
  • Specifying the shortcut name that appears to the user.
  • Defining whether the shortcut is visible by all users or just the user currently logged on to the Windows operating system.
  • Specifying an icon for the shortcut, either by file name or index number. If the icon is embedded in a program file, and there are multiple icons in the file, the index number specifies the icon that appears. For example, 1 means the first icon embedded in the program file.
  • Specifying the size of the window in which the specified executable runs.