Windows 8.1 右鍵選單新增「釘選到開始畫面」功能,但預設僅支援特定檔案類型(.exe、.lnk 等),音樂、圖片、壓縮檔等無法直接釘選。透過匯入登錄檔即可擴展支援至所有檔案類型。
pin_all_files.reg(編碼選 ANSI 或 UTF-8):Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\pintostartscreen]
"MUIVerb"="釘選到開始畫面"
"Icon"="imageres.dll,-1002"
[HKEY_CLASSES_ROOT\*\shell\pintostartscreen\command]
@="powershell.exe -command \"& { $path = '%1'; $shell = New-Object -ComObject Shell.Application; $folder = $shell.NameSpace((Get-Item $path).DirectoryName); $item = $folder.ParseName((Get-Item $path).Name); $item.InvokeVerb('pintostartscreen') }\""


原理:在 HKEY_CLASSES_ROOT\*(所有檔案類型基底)下新增 Shell 指令,呼叫 PowerShell 執行釘選動作。操作前建議備份登錄或建立系統還原點。