@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