New-InternetLink

Creates an Internet shortcut (link) that is opened with the default browser at startup.


Settings:

  • Description
    Description of the link. This text appears under the link.
  • Address
    The URL to which the link refers.
  • Working directory
    The path to the working directory of the shortcut (if necessary).
  • Icon
    The program icon to be used. By default, the icon that is assigned to .htm(l) files is used.
  • Option
    • Computer-related Link ("All Users")
      Indicates whether it is a computer-related link available to all users of a computer (e.g. through in the All Users profile).
    • Use 32-Bit mode on x64 computer
      If the script is executed on a 64-bit operating system, the counterpart for 32-bit applications SysWOW64 can be used automatically when referring to the SYSTEM32 directory.
  • Create at
    The target for the link to be created. The real paths are read at runtime from the registry in the key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders.
  • Folder
    The name of the subfolder, below the destination specified in "Create at", in which this shortcut is to be created. If the specified folder does not yet exist, it will be created.


Example:

The following example creates a link to the NWC Services homepage on the "All Users" desktop:


Corresponds to DSM eScript command:

  • CreateInternetLink


See also: