@ECHO off
MODE con: COLS=16 lINES=2 &color 0A
reg query HKLM\SOFTWARE\Classes\PotPlayerMini.dsf\DefaultIcon >0
for /f "usebackq tokens=2,*" %%i in (0) do set P=%%~dpj&&@del 0 >nul 2>nul
reg query HKLM\SOFTWARE\Classes\CLSID\{A64C68BB-8F33-4F4B-BAA8-07D6319D30B4} >nul 2>nul
if %errorlevel%==1 goto X
regsvr32 /s /u "%P%dpshell.dll"&&taskkill /f /im explorer.exe & cmd /c start explorer&&echo 已解除关联!&ping/n 2 127.1>nul &&exit
:X
regsvr32 /s "%P%dpshell.dll"&&echo 已修复关联!&ping/n 2 127.1>nul
=====================================================================
"="里面的字(不包含=号)存在文字档内
然后改文字档的副档名(TXT改为BAT)
最后这个BAT执行下去
这样应该就修复关联了
最后在开potplayer
执行关联档案功能
完成
试试看吧
MODE con: COLS=16 lINES=2 &color 0A
reg query HKLM\SOFTWARE\Classes\PotPlayerMini.dsf\DefaultIcon >0
for /f "usebackq tokens=2,*" %%i in (0) do set P=%%~dpj&&@del 0 >nul 2>nul
reg query HKLM\SOFTWARE\Classes\CLSID\{A64C68BB-8F33-4F4B-BAA8-07D6319D30B4} >nul 2>nul
if %errorlevel%==1 goto X
regsvr32 /s /u "%P%dpshell.dll"&&taskkill /f /im explorer.exe & cmd /c start explorer&&echo 已解除关联!&ping/n 2 127.1>nul &&exit
:X
regsvr32 /s "%P%dpshell.dll"&&echo 已修复关联!&ping/n 2 127.1>nul
=====================================================================
"="里面的字(不包含=号)存在文字档内
然后改文字档的副档名(TXT改为BAT)
最后这个BAT执行下去
这样应该就修复关联了
最后在开potplayer
执行关联档案功能
完成
试试看吧
