win7把快捷方式附到任务栏的解决方案

据说win7旗舰版系统,不能把快捷方式附到任务栏这个问题是与快捷方式的小箭头优化有一定的关系
我也有这个现象找了好久才找到解决方法


小箭头与锁定任务栏冲突处理
——————————————————————————————

@echo off
color 02
echo 请选择要执行的操作(1-删除,2-恢复,3-退出)
set choice=
set /p choice=请选择(1/2/3)按回车执行:
if /i '%choice%'=='1' goto a
if /i '%choice%'=='2' goto b
if /i '%choice%'=='3' goto end
:a
reg delete HKEY_CLASSES_ROOT\piffile /v IsShortcut /f
reg delete HKEY_CLASSES_ROOT\lnkfile /v IsShortcut /f
taskkill /f /im explorer.exe
cls
explorer.exe
:b
reg add HKEY_CLASSES_ROOT\lnkfile /v IsShortcut /t REG_SZ /f
reg add HKEY_CLASSES_ROOT\piffile /v IsShortcut /t REG_SZ /f
taskkill /f /im explorer.exe
cls
explorer.exe
:end
exit

——————————————————————————
在txt中粘贴

以.bat后缀保存(或保存后修改后缀)以管理员运行
选2
注我是win7 旗舰64位 ‘
选2

相关文档
最新文档