Last active
February 28, 2018 16:20
-
-
Save xyuanmu/e1c2e5ba861a46013457db4187c24c98 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off & cd /d %~dp0 & title 酷狗关联M4A格式 | |
reg add "HKCR\kugou8.M4A" /d "M4A文件" /f >NUL 2>NUL | |
reg add "HKCR\kugou8.M4A\DefaultIcon" /d "%~dp0KuGou.exe,1" /f >NUL 2>NUL | |
reg add "HKCR\kugou8.M4A\Shell\Open" /d "使用 酷狗音乐播放器 播放(&O)" /f >NUL 2>NUL | |
reg add "HKCR\kugou8.M4A\Shell\Open\Command" /d "\"%~dp0KuGou.exe\" /Open \"%%1"\" /f >NUL 2>NUL | |
reg add "HKCR\kugou8.M4A\Shell\PlayList" /d "添加到“酷狗音乐”播放列表(&P)" /f >NUL 2>NUL | |
reg add "HKCR\kugou8.M4A\Shell\PlayList\Command" /d "\"%~dp0KuGou.exe\" /List \"%%1"\" /f >NUL 2>NUL | |
reg add "HKCR\.m4a" /d "kugou8.M4A" /f >NUL 2>NUL | |
reg add "HKCR\.m4a" /v "Content Type" /d "audio/m4a" /f >NUL 2>NUL | |
reg add "HKCR\.m4a" /v "PerceivedType" /d "audio" /f >NUL 2>NUL | |
reg add "HKCR\.m4a\OpenWithList" /f >NUL 2>NUL | |
reg add "HKCR\.m4a\ShellEx" /f >NUL 2>NUL | |
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.m4a" /v "Progid" /d "kugou8.M4A" /f >NUL 2>NUL | |
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.m4a\OpenWithList" /f >NUL 2>NUL | |
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.m4a\OpenWithProgids" /v "kugou8.M4A" /t REG_BINARY /d 0 /f >NUL 2>NUL | |
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.m4a\UserChoice" /v "Progid" /d "kugou8.M4A" /f >NUL 2>NUL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment