Nucleus Posted August 22, 2005 Share Posted August 22, 2005 After the installation of PowerDVD 6.0 some of the video file extensions are assigned to PowerDVD for playing. I would like all video files to be played with Windows Media Player 10. (mpg, mpeg, avi, wmv, asf, etc..) How can I do that?Thanks Link to comment Share on other sites More sharing options...
Nucleus Posted August 24, 2005 Author Share Posted August 24, 2005 I have tried this, with no luck@echo offcmdow @ /HID::Short %PF% VariableFOR %%A IN ("%PROGRAMFILES%") DO SET SHORTPF=%%~sAREG ADD "HKLM\SOFTWARE\Classes\.mpg\shell\Open\command" /VE /D "%SHORTPF%\Windows Media Player\wmplayer.exe /Open \"%%L\"" /fREG ADD "HKLM\SOFTWARE\Classes\.mpg\DefaultIcon" /VE /D "%SHORTPF%\Windows Media Player\wmplayer.exe,0" /fREG ADD "HKLM\SOFTWARE\Classes\.mpeg\shell\Open\command" /VE /D "%SHORTPF%\Windows Media Player\wmplayer.exe /Open \"%%L\"" /fREG ADD "HKLM\SOFTWARE\Classes\.mpeg\DefaultIcon" /VE /D "%SHORTPF%\Windows Media Player\wmplayer.exe,0" /fREG ADD "HKLM\SOFTWARE\Classes\.mp3\shell\Open\command" /VE /D "%SHORTPF%\Windows Media Player\wmplayer.exe /Open \"%%L\"" /fREG ADD "HKLM\SOFTWARE\Classes\.mp3\DefaultIcon" /VE /D "%SHORTPF%\Windows Media Player\wmplayer.exe,0" /fREG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.mpg" /v "Runtime" /t REG_DWORD /d 1 /fREG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.mpg" /v "Permissions" /t REG_DWORD /d 1 /fREG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.mpeg" /v "Runtime" /t REG_DWORD /d 1 /fREG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.mpeg" /v "Permissions" /t REG_DWORD /d 1 /fREG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.mp3" /v "Runtime" /t REG_DWORD /d 1 /fREG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.mp3" /v "Permissions" /t REG_DWORD /d 1 /f Link to comment Share on other sites More sharing options...
Redcloud Posted August 29, 2005 Share Posted August 29, 2005 It seems that there is a much simpler way to do this. You could go to settings - folder options - reset. I believe Windows places Media Player as a default setting. The reason I'm putting in my I don't know what I'm talking about, I recently installed a bitmap editor that reset my default setting from Windows image viewer to the editor so when I open the image it loads the bitmap editor program to view. There seems to be a much easier way to change the file association. Link to comment Share on other sites More sharing options...
Nucleus Posted August 29, 2005 Author Share Posted August 29, 2005 Assoc.cmd@echo offassoc .mpg=WMP.mpegfileassoc .mpeg=WMP.mpegfileftype WMP.mpegfile="C:\Program Files\Windows Media Player\wmplayer.exe" %1assoc .mp3=WMP.mp3fileftype WMP.mp3file="C:\Program Files\Windows Media Player\wmplayer.exe" %1Thanks to Batch World Link to comment Share on other sites More sharing options...
Redcloud Posted August 29, 2005 Share Posted August 29, 2005 Thanks. In my case it was settings - folder options - file types - change Link to comment Share on other sites More sharing options...
Nucleus Posted August 29, 2005 Author Share Posted August 29, 2005 Thanks. In my case it was settings - folder options - file types - change <{POST_SNAPBACK}>How can you do that unattended? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now