[分享]在WinPE中关联所有媒体文件到Potplayer的方法
2021-10-7 1537

在Win10PE中关联Potplayer比较简单,比如将你的Potplayer程序放在 Program Files 目录,那么按下面方法去执行就行了。

一、清除Windows Media Player文件关联

必须先清理WMP的文件关联,才能关联其他播放器。可以使用批处理:

PUSHD %~dp0

reg delete "HKCR\WMP11.AssocFile.3G2" /f 
reg delete "HKCR\WMP11.AssocFile.3GP" /f 
reg delete "HKCR\WMP11.AssocFile.ADTS" /f 
reg delete "HKCR\WMP11.AssocFile.AIFF" /f 
reg delete "HKCR\WMP11.AssocFile.ASF" /f 
reg delete "HKCR\WMP11.AssocFile.ASX" /f 
reg delete "HKCR\WMP11.AssocFile.AU" /f 
reg delete "HKCR\WMP11.AssocFile.AVI" /f 
reg delete "HKCR\WMP11.AssocFile.CDA" /f 
reg delete "HKCR\WMP11.AssocFile.M2TS" /f 
reg delete "HKCR\WMP11.AssocFile.m3u" /f 
reg delete "HKCR\WMP11.AssocFile.M4A" /f 
reg delete "HKCR\WMP11.AssocFile.MIDI" /f 
reg delete "HKCR\WMP11.AssocFile.MOV" /f 
reg delete "HKCR\WMP11.AssocFile.MP3" /f 
reg delete "HKCR\WMP11.AssocFile.MP4" /f 
reg delete "HKCR\WMP11.AssocFile.MPEG" /f 
reg delete "HKCR\WMP11.AssocFile.TTS" /f 
reg delete "HKCR\WMP11.AssocFile.WAV" /f 
reg delete "HKCR\WMP11.AssocFile.WAX" /f 
reg delete "HKCR\WMP11.AssocFile.wma" /f 
reg delete "HKCR\WMP11.AssocFile.WMD" /f 
reg delete "HKCR\WMP11.AssocFile.WMS" /f 
reg delete "HKCR\WMP11.AssocFile.WMV" /f 
reg delete "HKCR\WMP11.AssocFile.WMZ" /f 
reg delete "HKCR\WMP11.AssocFile.WPL" /f 
reg delete "HKCR\WMP11.AssocFile.WVX" /f 
reg delete "HKCR\WMP11.AssocMIME.3G2" /f
reg delete "HKCR\WMP11.AssocMIME.3GP" /f
reg delete "HKCR\WMP11.AssocMIME.ADTS" /f
reg delete "HKCR\WMP11.AssocMIME.AIFF" /f
reg delete "HKCR\WMP11.AssocMIME.ASF" /f
reg delete "HKCR\WMP11.AssocMIME.ASX" /f
reg delete "HKCR\WMP11.AssocMIME.AU" /f
reg delete "HKCR\WMP11.AssocMIME.AVI" /f
reg delete "HKCR\WMP11.AssocMIME.M2TS" /f
reg delete "HKCR\WMP11.AssocMIME.M3U" /f
reg delete "HKCR\WMP11.AssocMIME.M4A" /f
reg delete "HKCR\WMP11.AssocMIME.MIDI" /f
reg delete "HKCR\WMP11.AssocMIME.MOV" /f
reg delete "HKCR\WMP11.AssocMIME.MP3" /f
reg delete "HKCR\WMP11.AssocMIME.MP4" /f
reg delete "HKCR\WMP11.AssocMIME.MPEG" /f
reg delete "HKCR\WMP11.AssocMIME.TTS" /f
reg delete "HKCR\WMP11.AssocMIME.WAV" /f
reg delete "HKCR\WMP11.AssocMIME.WAX" /f
reg delete "HKCR\WMP11.AssocMIME.WMA" /f
reg delete "HKCR\WMP11.AssocMIME.WMD" /f
reg delete "HKCR\WMP11.AssocMIME.WMV" /f
reg delete "HKCR\WMP11.AssocMIME.WMZ" /f
reg delete "HKCR\WMP11.AssocMIME.WPL" /f
reg delete "HKCR\WMP11.AssocMIME.WVX" /f
:END
EXIT

 

二、使用Potplayer命令行参数关联文件

"X:\Program Files\Potplayer\PotPlayerMini64.exe" /RegisterAll

三、Potplayer其他个性化设置

Potplayer的个性化设置可以保存到 X:\Users\Default\AppData\Roaming\PotPlayerMini64\PotPlayerMini64.ini,在注册表有下面几个设置项可以调整:

PECMD代码:

\\皮肤
REGI $HKEY_CURRENT_USER\Software\Daum\PotPlayerMini64\Settings\LastSkinName=XMP-Gray_mini_W.dsf

\\禁止自动下载安装包
REGI $HKEY_CURRENT_USER\Software\Daum\PotPlayerMini64\Settings\AutoDownloadFile=0

\\禁止自动升级
REGI $HKEY_CURRENT_USER\Software\Daum\PotPlayerMini64\Settings\CheckAutoUpdate=0

\\设置语言文件
REGI $HKEY_CURRENT_USER\Software\Daum\PotPlayerMini64\Settings\LanguageIni=Chinese(Simplified).ini
收藏
点赞
分享
官方QQ群:872611894(群密码:pecmd.net)
最新回复 (1)
  • avatar image
    铭浩 2021-10-7

    谢谢!

    B站UP主,昵称为system32老马,爱好PE和windows系统,欢迎和我讨论,QQ号:2517588842
返回