Partilhar via


Path

Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

Path specifies the path to an application. This application should contain an icon to be shown in the notification area at the far right of the taskbar.

By setting the Path and GUID elements of the PromotedIcon2 component, you can configure another icon to be visible in the notification area. This icon will appear in place of the Battery icon.

To select the icon to be visible, you must:

  • Select a signed binary application file that includes a notification-area icon.

  • Set both the Path and GUID elements for the file.

For information about finding the path and GUID for your icon, see the MSDN topic: NOTIFYICONDATA Structure.

Values

Path

Specifies the path of an icon to be shown in the notification area.

Valid Configuration Passes

specialize

Parent Hierarchy

Microsoft-Windows-Shell-Setup | NotificationArea | PromotedIcon2 | Path

Applies To

For a list of the Windows® editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.

XML Example

The following XML output shows how to promote a new notification-area icon to be visible in place of the Battery icon.

  <PromotedIcon2>
    <Path>%PROGRAMFILES%\Fabrikam\Application2.exe</Path>
    <GUID>{a1bc23cb-3456-bcde-abcd-feb363cacc88}</GUID>
  </PromotedIcon2>

See Also

Concepts

PromotedIcon2
GUID