|
本帖最后由 9zhmke 于 2024-12-15 16:36 编辑
用这个试试:SFTA.exe --reg "%cd%\%exe%" ".%%i" "%pid%"
先把这个放到POTPLAYER文件夹里:
SFTA.exe
(257.5 KB, 下载次数: 15)
再建一个批处理,完成后双击运行,其内容如下:- echo 程序运行中,请稍等.....
- 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
- cd /d "%~dp0%"
- set "exe=PotPlayerMini64.exe"
- set "pid=PotPlayer"
- del tmp.reg 2>nul
- >tmp.reg echo Windows Registry Editor Version 5.00
- echo.>>tmp.reg
- echo >>tmp.reg [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Explorer]
- echo >>tmp.reg "NoNewAppAlert"=dword:00000001
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\AtscAntenaList]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\AtscCableList]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\AudioFolderList]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\BdaTvChlList]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\BMList]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\CaptionFolderList]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\CaptionOnlineSearchList]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\CaptionWordSearchList]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\DvbcList]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\DvbsList]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\DvbtList]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\EqulizerList]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\ExtCodec]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\ExtensionInfoList]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\FavList]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\FileFormat]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\FileIconList]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\FtpClientList]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\MainShortCutList]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\OptionList]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\Override]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\Override_Settings]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\PanScanList]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\PlayShortCutList]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\PlaySkipList]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\Positions]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\RememberFiles]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\Settings]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\ShaderCombineList]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\ShaderPostCombineList]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\UrlHistory]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\VisualFolderList]
- >>tmp.reg echo [HKEY_CURRENT_USER\SOFTWARE\DAUM\PotPlayerMini64\WdmTvChlList]
- echo.>>tmp.reg
- regedit /s tmp.reg
- for %%i in (%movies%) do SFTA.exe --reg "%cd%\%exe%" ".%%i" "%pid%"
- del tmp.reg 2>nul
复制代码
|
|