時間:2015-04-16 來源:互聯網 瀏覽量:
先在桌麵上新建一個txt的文件名稱為1,把下麵的文字拷到裏麵,把擴展名改為reg:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOTpiffile]
@="Shortcut to MS-DOS Program"
"EditFlags"=hex:01,00,00,00
"IsShortcut"=""
"NeverShowExt"=""
"FriendlyTypeName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,
00,6f,00,6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,
32,00,5c,00,61,00,63,00,70,00,70,00,61,00,67,00,65,00,2e,00,64,00,6c,00,6c,
00,2c,00,2d,00,36,00,30,00,30,00,35,00,00,00
[HKEY_CLASSES_ROOTpiffileshell]
[HKEY_CLASSES_ROOTpiffileshellopen]
[HKEY_CLASSES_ROOTpiffileshellopencommand]
@=""%1" %*"
[HKEY_CLASSES_ROOTpiffileshellex]
[HKEY_CLASSES_ROOTpiffileshellexContextMenuHandlers]
[HKEY_CLASSES_ROOTpiffileshellexContextMenuHandlersAVG8 Shell Extension]
@="{9F97547E-4609-42C5-AE0C-81C61FFAEBC3}"
[HKEY_CLASSES_ROOTpiffileshellexDropHandler]
@="{86C86720-42A0-1069-A2E8-08002B30309D}"
[HKEY_CLASSES_ROOTpiffileshellexIconHandler]
@="{00021401-0000-0000-C000-000000000046}"
[HKEY_CLASSES_ROOTpiffileshellexPropertySheetHandlers]
[HKEY_CLASSES_ROOTpiffileshellexPropertySheetHandlersPifProps]
@="{86F19A00-42A0-1069-A2E9-08002B30309D}"
[HKEY_CLASSES_ROOTpiffileshellexPropertySheetHandlersShimLayer Property Page]
@="{513D916F-2A8E-4F51-AEAB-0CBC76FB1AF8}"
然後在新建一個2的txt文件,然後把下麵的內容拷入,把擴展名改為reg:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOTlnkfile]
@="Shortcut"
"EditFlags"=dword:00000001
"FriendlyTypeName"="@shell32.dll,-4153"
"IsShortcut"=""
"NeverShowExt"=""
[HKEY_CLASSES_ROOTlnkfileCLSID]
@="{00021401-0000-0000-C000-000000000046}"
[HKEY_CLASSES_ROOTlnkfileshellex]
[HKEY_CLASSES_ROOTlnkfileshellexContextMenuHandlers]
[HKEY_CLASSES_ROOTlnkfileshellexContextMenuHandlersCompatibility]
@="{1d27f844-3a1f-4410-85ac-14651078412d}"
[HKEY_CLASSES_ROOTlnkfileshellexContextMenuHandlersOpenContainingFolderMenu]
@="{37ea3a21-7493-4208-a011-7f9ea79ce9f5}"
[HKEY_CLASSES_ROOTlnkfileshellexContextMenuHandlers{00021401-0000-0000-C000-000000000046}]
@=""
[HKEY_CLASSES_ROOTlnkfileshellexDropHandler]
@="{00021401-0000-0000-C000-000000000046}"
[HKEY_CLASSES_ROOTlnkfileshellexIconHandler]
@="{00021401-0000-0000-C000-000000000046}"
[HKEY_CLASSES_ROOTlnkfileshellexPropertySheetHandlers]
[HKEY_CLASSES_ROOTlnkfileshellexPropertySheetHandlersShimLayer Property Page]
@="{513D916F-2A8E-4F51-AEAB-0CBC76FB1AF8}"
這樣兩個最重要的文件就建好了,下麵要做的就是把任務管理器打開,把"explorer"進程結束掉,然後點擊任務管理器的文件---新建任務,把剛才的兩個reg文件一次導入,在啟動C:Windowsexplorer.exe(看你的係統安裝在那個盤的哦),看看是不是就可以程序和快捷方式pin如任務欄了啊!!
哈哈,不過這樣有問題哦,你會發現快捷方式上多了一個箭頭,這個是很煩的。