- 积分
- 1360
- 最后登录
- 2024-4-24
- 精华
- 0
- 阅读权限
- 40
- 主题
- 58
- UID
- 866383
- 帖子
- 2650
- PB币
- 4219
- 威望
- 50
- 贡献
- 0
- 技术
- 30
- 活跃
- 3426
- UID
- 866383
- 帖子
- 2650
- PB币
- 4219
- 贡献
- 0
- 技术
- 30
- 活跃
- 3426
|
24F
发表于 2020-1-17 22:00:01
IP属地四川
|只看该作者
2016大道至简 发表于 2020-1-17 21:15
最后问题咋解决的呢?
把下面保存为批处理运行:
@echo *****去小箭頭*****
@goto startch
:star
@echo !按鍵錯誤,請重新選擇!
:startch
@set /P CHS=[1]安裝,[2]解除安裝,[Q]退出!
@if /I "%CHS%"=="1" goto install
@if /I "%CHS%"=="2" goto uninstall
@if /I "%CHS%"=="Q" exit
@if /I "%CHS%"=="q" exit
@goto star
:install
::去除快捷字樣
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer" /v link /d "00000000" /t REG_BINARY /f
del "%userprofile%\AppData\Local\iconcache.db" /f /q
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /d "%systemroot%\system32\imageres.dll,197" /t reg_sz /f
taskkill /f /im explorer.exe
attrib -s -r -h "%userprofile%\AppData\Local\iconcache.db"
del "%userprofile%\AppData\Local\iconcache.db" /f /q
start explorer
@exit
:uninstall
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /f
taskkill /f /im explorer.exe
attrib -s -r -h "%userprofile%\AppData\Local\iconcache.db"
del "%userprofile%\AppData\Local\iconcache.db" /f /q
start explorer
@exit |
|