link3Link3

Link3 在工作列上,指定第一個可用的程式捷徑的路徑。Link3 specifies the path to the first available program shortcut on the taskbar.

附註  已釘選到工作列的任何項目不會出現在開始功能表清單的最常用的程式。Note   Any item that is pinned to the taskbar will not appear in the Start menu list of most frequently used programs.

我們建議您將捷徑檔案新增至所有使用者開始功能表上,例如: %ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Fabrikam\Application.lnkWe recommend that you add shortcut files to the All Users Start menu, for example: %ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Fabrikam\Application.lnk.

我們不建議使用環境變數新增捷徑: %USERPROFILE%We do not recommend adding the shortcut by using the environment variable: %USERPROFILE%. 使用新增的捷徑%USERPROFILE%只會套用至下一個使用者登入電腦的設定檔。Shortcuts added by using %USERPROFILE% are applied only to the profile of the next user to log on to the computer. 此外,如果在執行時套用的設定auditUser捷徑設定階段只會套用到暫時的系統管理員帳戶之後結束稽核模式, 會移除。Also, if the setting is applied during the auditUser configuration pass, the shortcut is applied only to the temporary administrator account, which is removed after exiting audit mode.

這項設定沒有在 Server Core 安裝的任何作用。This setting has no effect on Server Core installations.

Values

Path_to_first_linkPath_to_first_link

在工作列上,指定第一個快顯的路徑。Specifies the path to the first shortcut on the taskbar. Path_to_first_link是最大長度為 259 個字元的字串。Path_to_first_link is a string with a maximum length of 259 characters.

Path_to_first_link 指定完整路徑和檔案名稱的捷徑檔案,副檔名.lnk 檔案。Path_to_first_link specifies the complete path and the file name of a shortcut file with an .lnk file name extension. 捷徑檔案的路徑必須參考到目的電腦上的位置。The path to the shortcut file must refer to a location on the destination computer.

捷徑檔案必須包含的完整路徑和檔案名稱,對應的程式檔,副檔名為.exe 檔案名稱。The shortcut file must include the complete path and file name of a corresponding program file with an .exe file name extension. 程式檔案的路徑必須參考到目的電腦上的位置。The path to the program file must refer to a location on the destination computer.

此字串類型不支援空元素。This string type does not support empty elements. 請勿為此設定建立空值。Do not create an empty value for this setting.

有效的設定階段Valid Configuration Passes

auditUserauditUser

oobeSystemoobeSystem

特製化specialize

父階層Parent Hierarchy

Microsoft-Windows-Shell-Setup | TaskbarLinks | Link3Microsoft-Windows-Shell-Setup | TaskbarLinks | Link3

套用至Applies To

如需支援的 Windows 版本與此元件支援的架構,請參閱Microsoft Windows Shell-安裝For a list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.

XML 範例XML Example

下列的 XML 輸出會顯示如何在桌面、 桌面上、 剪取工具、 自黏便箋和 Wordpad 中的 小算盤,在工作列上,新增遠端桌面連線 」、 「 錄音機 」 的快速鍵。The following XML output shows how to add shortcuts for Remote Desktop Connection, Sound Recorder in the desktop, calculator in the desktop, Snipping Tool, Sticky Notes, and Wordpad on the taskbar.

<TaskbarLinks>
   <Link0>%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories\Remote Desktop Connection.lnk</Link0>
   <Link1>%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories\Sound Recorder.lnk</Link1>
   <Link2>%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories\Calculator.lnk</Link2>
   <Link3>%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories\Snipping Tool.lnk</Link3>
   <Link4>%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories\Sticky Notes.lnk</Link4>
   <Link5>%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories\Wordpad.lnk</Link5>
</TaskbarLinks>

TaskbarLinksTaskbarLinks