win7不能把程序锁定到任务栏的解决方法-系统操作与应用
最近在使用windows7 的时侯遇到一个问题,就是常用程序和快捷方式不能锁定到任务栏,我当时不知怎么回事,但是很多现有的方法都不能解决这个问题,在我看了很多资料以后我发现了这个问题就出在piffile和lnkfile上面。现在我把我的解决的方法共享给大家。先在桌面上新建一个txt的文件名称为1,把下面的文字拷到里面,把扩展名改为reg:Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\piffile]@="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_ROOT\piffile\shell][HKEY_CLASSES_ROOT\piffile\shell\open][HKEY_CLASSES_ROOT\piffile\shell\open\command]@="\"%1\" %*"[HKEY_CLASSES_ROOT\piffile\shellex][HKEY_CLASSES_ROOT\piffile\shellex\ContextMenuHandlers][HKEY_CLASSES_ROOT\piffile\shellex\ContextMenuHandlers\AVG8 Shell Extension]@="{9F97547E-4609-42C5-AE0C-81C61FFAEBC3}"[HKEY_CLASSES_ROOT\piffile\shellex\DropHandler]@="{86C86720-42A0-1069-A2E8-08002B30309D}"[HKEY_CLASSES_ROOT\piffile\shellex\IconHandler]@="{00021401-0000-0000-C000-000000000046}"[HKEY_CLASSES_ROOT\piffile\shellex\PropertySheetHandlers][HKEY_CLASSES_ROOT\piffile\shellex\PropertySheetHandlers\PifProps]@="{86F19A00-42A0-1069-A2E9-08002B30309D}"[HKEY_CLASSES_ROOT\piffile\shellex\PropertySheetHandlers\ShimLayer Property Page]@="{513D916F-2A8E-4F51-AEAB-0CBC76FB1AF8}"然后在新建一个2的txt文件,然后把下面的内容拷入,把扩展名改为reg:Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\lnkfile]@="Shortcut""EditFlags"=dword:00000001"FriendlyTypeName"="@shell32.dll,-4153""IsShortcut"="""NeverShowExt"=""[HKEY_CLASSES_ROOT\lnkfile\CLSID]@="{00021401-0000-0000-C000-000000000046}"[HKEY_CLASSES_ROOT\lnkfile\shellex][HKEY_CLASSES_ROOT\lnkfile\shellex\ContextMenuHandlers][HKEY_CLASSES_ROOT\lnkfile\shellex\ContextMenuHandlers\Compatibility]@="{1d27f844-3a1f-4410-85ac-14651078412d}"[HKEY_CLASSES_ROOT\lnkfile\shellex\ContextMenuHandlers\OpenContainingFolderMenu]@="{37ea3a21-7493-4208-a011-7f9ea79ce9f5}"[HKEY_CLASSES_ROOT\lnkfile\shellex\ContextMenuHandlers\{00021401-0000-0000-C000-000000000046}]@=""[HKEY_CLASSES_ROOT\lnkfile\shellex\DropHandler]@="{00021401-0000-0000-C000-000000000046}"[HKEY_CLASSES_ROOT\lnkfile\shellex\IconHandler]@="{00021401-0000-0000-C000-000000000046}"[HKEY_CLASSES_ROOT\lnkfile\shellex\PropertySheetHandlers][HKEY_CLASSES_ROOT\lnkfile\shellex\PropertySheetHandlers\ShimLayer Property Page]@="{513D916F-2A8E-4F51-AEAB-0CBC76FB1AF8}"这样两个最重要的文件就建好了,下面要做的就是把任务管理器打开,把“explorer”进程结束掉,然后点击任务管理器的文件---新建任务,把刚才的两个reg文件一次导入,在启动C:\Windows\explorer.exe(看你的系统安装在那个盘的哦),看看是不是就可以程序和快捷方式pin如任务栏了啊!!哈哈,不过这样有问题哦,你会发现快捷方式上多了一个箭头,这个是很烦的。

本文地址: https://www.earthnavs.com/jishuwz/f7393f02b4569be0037a.html