Jump to content

PowerDVD/Media Player 10 file association


Nucleus

Recommended Posts

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


I have tried this, with no luck

@echo off
cmdow @ /HID
::Short %PF% Variable
FOR %%A IN ("%PROGRAMFILES%") DO SET SHORTPF=%%~sA

REG ADD "HKLM\SOFTWARE\Classes\.mpg\shell\Open\command" /VE /D "%SHORTPF%\Windows Media Player\wmplayer.exe /Open \"%%L\"" /f
REG ADD "HKLM\SOFTWARE\Classes\.mpg\DefaultIcon" /VE /D "%SHORTPF%\Windows Media Player\wmplayer.exe,0" /f

REG ADD "HKLM\SOFTWARE\Classes\.mpeg\shell\Open\command" /VE /D "%SHORTPF%\Windows Media Player\wmplayer.exe /Open \"%%L\"" /f
REG ADD "HKLM\SOFTWARE\Classes\.mpeg\DefaultIcon" /VE /D "%SHORTPF%\Windows Media Player\wmplayer.exe,0" /f

REG ADD "HKLM\SOFTWARE\Classes\.mp3\shell\Open\command" /VE /D "%SHORTPF%\Windows Media Player\wmplayer.exe /Open \"%%L\"" /f
REG ADD "HKLM\SOFTWARE\Classes\.mp3\DefaultIcon" /VE /D "%SHORTPF%\Windows Media Player\wmplayer.exe,0" /f

REG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.mpg" /v "Runtime" /t REG_DWORD /d 1 /f
REG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.mpg" /v "Permissions" /t REG_DWORD /d 1 /f

REG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.mpeg" /v "Runtime" /t REG_DWORD /d 1 /f
REG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.mpeg" /v "Permissions" /t REG_DWORD /d 1 /f

REG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.mp3" /v "Runtime" /t REG_DWORD /d 1 /f
REG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.mp3" /v "Permissions" /t REG_DWORD /d 1 /f

Link to comment
Share on other sites

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

Assoc.cmd

@echo off
assoc .mpg=WMP.mpegfile
assoc .mpeg=WMP.mpegfile
ftype WMP.mpegfile="C:\Program Files\Windows Media Player\wmplayer.exe" %1
assoc .mp3=WMP.mp3file
ftype WMP.mp3file="C:\Program Files\Windows Media Player\wmplayer.exe" %1

Thanks to Batch World

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...