|
本帖最后由 9zhmke 于 2023-4-20 08:28 编辑
- rem 取出与音频关联的微软播放器WMP版本
- for /f "skip=1 tokens=3 delims==" %%i in ('find /i "mp2" "wmp" DefaultAppAssociations.xml') do for /f "tokens=2 delims=MP." %%j in ('echo %%i') do set WMP=WMP%%j
- rem 删除每种文件的播放器关联
- set movies=3gp,3gp2,asf,avi,avs,divx,evo,flv,m1v,m2v,m4b,m4p,m4v,mkva,mp4a,rmvba,mkv,mov,mp4,mpeg,mpg,ogm,pmp,pss,pva,tpr,qt,rm,rmvb,tp,ts,vob,vp6,wmv,webm,pls
- for %%i in (%movies%) do reg delete "HKCR\%WMP%.AssocFile.%%i" /f
- rem 关联文件
- PotPlayerMini64.exe /RegisterAll
复制代码 |
|