Partager via


FavIconFile

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

FavIconFile specifies the icon to associate with the FavoriteItem in the Favorites folder.

Values

Path_and_file_name

Specifies the location and the name of the icon to associate with the FavoriteItem in the Favorites folder, for example, C:\Windows\favlink2.ico. Path_and_file_name is a string.

This string type supports empty elements.

Valid Passes

specialize

Parent Hierarchy

Microsoft-Windows-IE-InternetExplorer | FavoritesList | FavoriteItem | FavIconFile

Applies To

For the list of the supported Windows® editions and architectures that this component supports, see Microsoft-Windows-IE-InternetExplorer.

XML Example

The following XML output specifies how to configure favorites.

<FavoritesList>
   <FavoriteItem wcm:action="add">
      <FavIconFile>C:\Windows\favlink1.ico</FavIconFile>
      <FavID>Favorite1</FavID>
      <FavOffLine>true</FavOffLine>
      <FavTitle>My Favorite</FavTitle>
      <FavURL>http://www.fabrikam.com/myfav1</FavURL>
   </FavoriteItem>
  <FavoriteItem wcm:action="add">
      <FavIconFile>C:\Windows\favlink2.ico</FavIconFile>
      <FavID>Favorite2</FavID>
      <FavOffLine>true</FavOffLine>
      <FavTitle>Favorite 2</FavTitle>
      <FavURL>http://www.fabrikam.com/myfav2</FavURL>
   </FavoriteItem>
</FavoritesList>

See Also

Concepts

FavoriteItem