Jump to content

Registering File Extensions Unattended


SiMoNsAyS

Recommended Posts

Idea came a few time ago but I decided to materialize it today.

Don't you hate when you install your most used programs and extensions aren't associated with them?

This thread is intended to solve it. Save your selected code to associations.cmd and run it at the end of RunOnce:

Variables Needed

REG ADD "HKCU\SOFTWARE\Microsoft\Internet Explorer\Main" /V "Check_Associations" /D "no" /F
REG ADD "HKCU\SOFTWARE\Microsoft\Internet Explorer\Main" /V "ShowedCheckBrowser" /D "yes" /F
REG ADD "HKU\.DEFAULT\SOFTWARE\Microsoft\Internet Explorer\Main" /V "Check_Associations" /D "no" /F
REG ADD "HKU\.DEFAULT\SOFTWARE\Microsoft\Internet Explorer\Main" /V "ShowedCheckBrowser" /D "yes" /F
REG ADD "HKLM\SOFTWARE\Classes\.htm" /VE /D "FirefoxHTML" /F
REG ADD "HKLM\SOFTWARE\Classes\.html" /VE /D "FirefoxHTML" /F
REG ADD "HKLM\SOFTWARE\Classes\FirefoxHTML\DefaultIcon" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE,1" /F
REG ADD "HKLM\SOFTWARE\Classes\FirefoxHTML\shell\open\command" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE -url \"%%1\"" /F
REG ADD "HKLM\SOFTWARE\Classes\ftp\DefaultIcon" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE,1" /F
REG ADD "HKLM\SOFTWARE\Classes\ftp\shell\open\command" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE -url \"%%1\"" /F
REG ADD "HKLM\SOFTWARE\Classes\gopher\DefaultIcon" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE,1" /F
REG ADD "HKLM\SOFTWARE\Classes\gopher\shell\open\command" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE -url \"%%1\"" /F
REG ADD "HKLM\SOFTWARE\Classes\http\DefaultIcon" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE,1" /F
REG ADD "HKLM\SOFTWARE\Classes\http\shell\open\command" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE -url \"%%1\"" /F
REG ADD "HKLM\SOFTWARE\Classes\https\DefaultIcon" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE,1" /F
REG ADD "HKLM\SOFTWARE\Classes\https\shell\open\command" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE -url \"%%1\"" /F
REG ADD "HKLM\SOFTWARE\Clients\StartMenuInternet" /VE /D "FIREFOX.EXE" /F
REG DELETE "HKLM\SOFTWARE\Classes\http\shell\open\ddeexec" /F
REG ADD "HKLM\SOFTWARE\Classes\http\shell\open\ddeexec\Application" /VE /D "FIREFOX" /F
REG DELETE "HKLM\SOFTWARE\Classes\https\shell\open\ddeexec" /F
REG ADD "HKLM\SOFTWARE\Classes\https\shell\open\ddeexec\Application" /VE /D "FIREFOX" /F
REG DELETE "HKLM\SOFTWARE\Classes\ftp\shell\open\ddeexec" /F
REG ADD "HKLM\SOFTWARE\Classes\ftp\shell\open\ddeexec\Application" /VE /D "FIREFOX" /F
REG DELETE "HKLM\SOFTWARE\Classes\gopher\shell\open\ddeexec" /F
REG ADD "HKLM\SOFTWARE\Classes\gopher\shell\open\ddeexec\Application" /VE /D "FIREFOX" /F

Originally developed by jdoe, I only tweaked a couple of things to associate .htm and .html files properly.

Winamp Default Icons and Extensions

REG ADD "HKLM\SOFTWARE\Classes\RealPlayer.RA.6\shell\Open\command" /VE /D "%SHORTPF%\Windows Media Player\wmplayer.exe /Open \"%%L\"" /f
REG ADD "HKLM\SOFTWARE\Classes\RealPlayer.RAM.6\shell\Open\command" /VE /D "%SHORTPF%\Windows Media Player\wmplayer.exe /Open \"%%L\"" /f
REG ADD "HKLM\SOFTWARE\Classes\RealPlayer.RM.6\shell\Open\command" /VE /D "%SHORTPF%\Windows Media Player\wmplayer.exe /Open \"%%L\"" /f
REG ADD "HKLM\SOFTWARE\Classes\RealPlayer.RV.6\shell\Open\command" /VE /D "%SHORTPF%\Windows Media Player\wmplayer.exe /Open \"%%L\"" /f
REG ADD "HKLM\SOFTWARE\Classes\movfile\shell\Open\command" /VE /D "%SHORTPF%\Windows Media Player\wmplayer.exe /Open \"%%L\"" /f
REG ADD "HKLM\SOFTWARE\Classes\movfile\DefaultIcon" /VE /D "%systemroot%\system32\QuickTime\quicktime.ico" /f
REG ADD "HKLM\SOFTWARE\Classes\qtfile\shell\Open\command" /VE /D "%SHORTPF%\Windows Media Player\wmplayer.exe /Open \"%%L\"" /f
REG ADD "HKLM\SOFTWARE\Classes\movfile\DefaultIcon" /VE /D "%systemroot%\system32\QuickTime\quicktime.ico" /f

REG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.rm" /v "Runtime" /t REG_DWORD /d 1 /f
REG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.rm" /v "Permissions" /t REG_DWORD /d 1 /f
REG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.ram" /v "Runtime" /t REG_DWORD /d 1 /f
REG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.ram" /v "Permissions" /t REG_DWORD /d 1 /f
REG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.ra" /v "Runtime" /t REG_DWORD /d 1 /f
REG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.ra" /v "Permissions" /t REG_DWORD /d 1 /f
REG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.mov" /v "Runtime" /t REG_DWORD /d 1 /f
REG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.mov" /v "Permissions" /t REG_DWORD /d 1 /f
REG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.qt" /v "Runtime" /t REG_DWORD /d 1 /f
REG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.qt" /v "Permissions" /t REG_DWORD /d 1 /f

You need Quicktime and Real alternatives or the unattended codec pack preferably. Also some of the entries were created by @RaveRod.

FLAC, OGG and 3GP with WMP10

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

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

Tested and working. I remember that I could play 3gp files with Quicktime player so I added the extension and worked with unattended codec pack (QT alternative)!

APE with WMP10

REG ADD "HKLM\SOFTWARE\Classes\.bmp" /VE /D "ACDC_BMP" /F
REG ADD "HKLM\SOFTWARE\Classes\.bw" /VE /D "ACDC_BW" /F
REG ADD "HKLM\SOFTWARE\Classes\.dcx" /VE /D "ACDC_DCX" /F
REG ADD "HKLM\SOFTWARE\Classes\.dib" /VE /D "ACDC_DIB" /F
REG ADD "HKLM\SOFTWARE\Classes\.emf" /VE /D "ACDC_EMF" /F
REG ADD "HKLM\SOFTWARE\Classes\.gif" /VE /D "ACDC_GIF" /F
REG ADD "HKLM\SOFTWARE\Classes\.iff" /VE /D "ACDC_IFF" /F
REG ADD "HKLM\SOFTWARE\Classes\.ilbm" /VE /D "ACDC_ILBM" /F
REG ADD "HKLM\SOFTWARE\Classes\.jfif" /VE /D "ACDC_JFIF" /F
REG ADD "HKLM\SOFTWARE\Classes\.jif" /VE /D "ACDC_JIF" /F
REG ADD "HKLM\SOFTWARE\Classes\.jpe" /VE /D "ACDC_JPE" /F
REG ADD "HKLM\SOFTWARE\Classes\.jpeg" /VE /D "ACDC_JPEG" /F
REG ADD "HKLM\SOFTWARE\Classes\.jpg" /VE /D "ACDC_JPG" /F
REG ADD "HKLM\SOFTWARE\Classes\.kdc" /VE /D "ACDC_KDC" /F
REG ADD "HKLM\SOFTWARE\Classes\.lbm" /VE /D "ACDC_LBM" /F
REG ADD "HKLM\SOFTWARE\Classes\.pcd" /VE /D "ACDC_PCD" /F
REG ADD "HKLM\SOFTWARE\Classes\.pcx" /VE /D "ACDC_PCX" /F
REG ADD "HKLM\SOFTWARE\Classes\.pic" /VE /D "ACDC_PIC" /F
REG ADD "HKLM\SOFTWARE\Classes\.pix" /VE /D "ACDC_PIX" /F
REG ADD "HKLM\SOFTWARE\Classes\.png" /VE /D "ACDC_PNG" /F
REG ADD "HKLM\SOFTWARE\Classes\.psd" /VE /D "ACDC_PSD" /F
REG ADD "HKLM\SOFTWARE\Classes\.rgb" /VE /D "ACDC_RGB" /F
REG ADD "HKLM\SOFTWARE\Classes\.rgba" /VE /D "ACDC_RGBA" /F
REG ADD "HKLM\SOFTWARE\Classes\.rle" /VE /D "ACDC_RLE" /F
REG ADD "HKLM\SOFTWARE\Classes\.sgi" /VE /D "ACDC_SGI" /F
REG ADD "HKLM\SOFTWARE\Classes\.tga" /VE /D "ACDC_TGA" /F
REG ADD "HKLM\SOFTWARE\Classes\.tif" /VE /D "ACDC_TIF" /F
REG ADD "HKLM\SOFTWARE\Classes\.tiff" /VE /D "ACDC_TIFF" /F
REG ADD "HKLM\SOFTWARE\Classes\.wmf" /VE /D "ACDC_WMF" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_BMP\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,2" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_BW\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,14" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_DCX\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,9" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_DIB\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,2" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_EMF\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,3" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_GIF\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,4" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_IFF\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,5" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_ILBM\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,5" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_JFIF\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,6" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_JIF\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,6" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_JPE\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,6" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_JPEG\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,6" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_JPG\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,6" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_KDC\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,7" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_LBM\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,5" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_PCD\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,8" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_PCX\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,9" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_PIC\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,10" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_PIX\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,11" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_PNG\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,12" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_PSD\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,13" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_RGB\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,14" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_RGBA\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,14" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_RLE\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,2" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_SGI\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,14" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_TGA\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,15" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_TIF\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,16" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_TIFF\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,16" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_WMF\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,17" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_BMP\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_BW\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_DCX\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_DIB\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_EMF\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_GIF\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_IFF\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_ILBM\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_JFIF\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_JIF\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_JPE\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_JPEG\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_JPG\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_KDC\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_LBM\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_PCD\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_PCX\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_PIC\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_PIX\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_PNG\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_PSD\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_RGB\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_RGBA\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_RLE\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_SGI\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_TGA\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_TIF\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_TIFF\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /F
REG ADD "HKLM\SOFTWARE\Classes\ACDC_WMF\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /F

This has take me A LOT of time. Tested and works, hope this can help any1.

Remove "Print and View with ACDSee32"

Contribution by Gagorian.

All Supported Video Files by BSPlayer

REG ADD "HKCR\.ASF" /VE /D "BSPlayerFile.ASF" /F
REG ADD "HKCR\.ASX" /VE /D "BSPlayerFile.ASX" /F
REG ADD "HKCR\.AVI" /VE /D "BSPlayerFile.AVI" /F
REG ADD "HKCR\.bsi" /VE /D "BSP.inif" /F
REG ADD "HKCR\.bsl" /VE /D "BSP.plist" /F
REG ADD "HKCR\.bsz" /VE /D "BSP.SkinZip" /F
REG ADD "HKCR\.DIVX" /VE /D "BSPlayerFile.DIVX" /F
REG ADD "HKCR\.M2V" /VE /D "BSPlayerFile.M2V" /F
REG ADD "HKCR\.MKV" /VE /D "BSPlayerFile.MKV" /F
REG ADD "HKCR\.MPEG" /VE /D "BSPlayerFile.MPEG" /F
REG ADD "HKCR\.MPG" /VE /D "BSPlayerFile.MPG" /F
REG ADD "HKCR\.OGM" /VE /D "BSPlayerFile.OGM" /F
REG ADD "HKCR\.VOB" /VE /D "BSPlayerFile.VOB" /F
REG ADD "HKCR\.WMV" /VE /D "BSPlayerFile.WMV" /F
REG ADD "HKCR\BSPlayerFile.ASF\DefaultIcon" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe,3" /f
REG ADD "HKCR\BSPlayerFile.ASX\DefaultIcon" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe,3" /f
REG ADD "HKCR\BSPlayerFile.AVI\DefaultIcon" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe,3" /f
REG ADD "HKCR\BSP.inif\DefaultIcon" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe,3" /f
REG ADD "HKCR\BSP.plist\DefaultIcon" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe,3" /f
REG ADD "HKCR\BSP.SkinZip\DefaultIcon" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe,3" /f
REG ADD "HKCR\BSPlayerFile.DIVX\DefaultIcon" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe,3" /f
REG ADD "HKCR\BSPlayerFile.M2V\DefaultIcon" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe,3" /f
REG ADD "HKCR\BSPlayerFile.MKV\DefaultIcon" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe,3" /f
REG ADD "HKCR\BSPlayerFile.MPEG\DefaultIcon" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe,3" /f
REG ADD "HKCR\BSPlayerFile.MPG\DefaultIcon" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe,3" /f
REG ADD "HKCR\BSPlayerFile.OGM\DefaultIcon" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe,3" /f
REG ADD "HKCR\BSPlayerFile.VOB\DefaultIcon" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe,3" /f
REG ADD "HKCR\BSPlayerFile.WMV\DefaultIcon" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe,3" /f
REG ADD "HKCR\BSPlayerFile.ASF\shell\open\command" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe \"%%L\"" /f
REG ADD "HKCR\BSPlayerFile.ASX\shell\open\command" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe \"%%L\"" /f
REG ADD "HKCR\BSPlayerFile.AVI\shell\open\command" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe \"%%L\"" /f
REG ADD "HKCR\BSP.inif\shell\open\command" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe \"%%L\"" /f
REG ADD "HKCR\BSP.plist\shell\open\command" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe \"%%L\"" /f
REG ADD "HKCR\BSP.SkinZip\shell\open\command" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe \"%%L\"" /f
REG ADD "HKCR\BSPlayerFile.DIVX\shell\open\command" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe \"%%L\"" /f
REG ADD "HKCR\BSPlayerFile.M2V\shell\open\command" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe \"%%L\"" /f
REG ADD "HKCR\BSPlayerFile.MKV\shell\open\command" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe \"%%L\"" /f
REG ADD "HKCR\BSPlayerFile.MPEG\shell\open\command" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe \"%%L\"" /f
REG ADD "HKCR\BSPlayerFile.MPG\shell\open\command" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe \"%%L\"" /f
REG ADD "HKCR\BSPlayerFile.OGM\shell\open\command" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe \"%%L\"" /f
REG ADD "HKCR\BSPlayerFile.VOB\shell\open\command" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe \"%%L\"" /f
REG ADD "HKCR\BSPlayerFile.WMV\shell\open\command" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe \"%%L\"" /f

Tested and working, a hard search. BSPlayer supports more (audio) extensions but Winamp plays them and they're associated automatically!

All Supported Filetypes by Zoom Player

Contribution by Yzöwl

All Supported Video and Audio Files by Media Player Classic

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY%\002 /V 1 /D "\"%SHORTPF%\Media Player Classic\mplayerc.exe\" /regaud /regvid" /f

Contribution by Powerhouse and this thread.

PK3 Files With WinZip

REG ADD "HKLM\SOFTWARE\Classes\.pk3" /VE /D "WinZip" /F

This one is very useful at the time of opening files used by Quake3 engine (Medal of Honor for example).

NFO and DIZ Files on MS-DOS

REG ADD "HKLM\SOFTWARE\Classes\.nfo" /VE /D "ASCII" /F
REG ADD "HKLM\SOFTWARE\Classes\.diz" /VE /D "ASCII" /F
REG ADD "HKLM\SOFTWARE\Classes\ASCII\DefaultIcon" /VE /D "%WINDIR%\system32\shell32.dll,70" /F
REG ADD "HKLM\SOFTWARE\Classes\ASCII\shell\open\command" /VE /D "EDIT.COM /R /H \"%%L\"" /F
REG ADD "HKLM\SOFTWARE\Classes\ASCII\shell\edit\command" /VE /D "EDIT.COM /H \"%%L\"" /F

Most people use external applications to open NFO and DIZ files, now you don't need them.

NFO and DIZ Files on the Command Prompt

Find it here

PDF with Acrobat Reader 7

REG ADD "HKLM\SOFTWARE\Classes\.pdf" /VE /D "AcroExch.Document" /F
REG ADD "HKLM\SOFTWARE\Classes\AcroExch.Document\shell\open\command" /VE /D "%SHORTPF%\Adobe\Acrobat 7.0\Reader\AcroRd32.exe \"%%L\"" /F

Supported Extensions by XnView

Contribution by premi

Open Office Supported Extensions

Contribution by glent

All IZArc Extensions

Contribution by Yzöwl

PowerDVD Supported Extensions

Contribution by NemoNada

This is important: if you want to ask something do it, but I would recommend make sticky this thread and only allow contributions. Good Luck!

Edited by SiMoNsAyS
Link to comment
Share on other sites


Thank you for updating the post with more options!!! I will test these very soon!

[EDIT] I can confirm that FLAC was recognized by Media Player 10, that was great.

For Daemon, I omitted the right click entries from it, and it worked just as well.

:thumbup

Edited by DigeratiPrime
Link to comment
Share on other sites

@DigeratiPrime ok about first request i've added the code to mount the image doubleclicking, see 1st post.

about second request your code won't display the prompt of unknow filetype on wmp10, on 1st post you'll see the complete code.

thanks for your suggestions :)

Link to comment
Share on other sites

not sure if i should post this request or not...

associate all the codecs (ex: swgreed's Unattended Codec Pack) with Windows Media Player (classic: start -> run -> mplayer2)

That means no "What would you like to use to open this file" dialogs for ANY movie file type (.avi, .mpg, .mpeg, .qt, .rm, etc.) - just opens in windows media player.

Link to comment
Share on other sites

@a06lp you can try
REG ADD "HKLM\SOFTWARE\Classes\.avi\shell\Open\command" /VE /D "%SHORTPF%\Windows Media Player\mplayer2.exe /Open \"%%L\"" /f

if it works i'll add the rest of extensions.

i don't think it worked.

i tried opening an avi file and a mpeg...both popped up a "Open With" screen, when i double-clicked (and mplayer2 wasnt even an option on the list)

Link to comment
Share on other sites

is that firefox one the same one in your other thread?

mostly the same. maybe the htm and html correction is different, if the code you copied is ok with those filetypes then use it.

@a06lp sorry but i don't know the propper switches i'll take a look tomorrow.

edit: ok try

REG ADD "HKLM\SOFTWARE\Classes\.avi\shell\Open\command" /VE /D "%SHORTPF%\Windows Media Player\mplayer2.exe \"%%1\"" /F

Edited by SiMoNsAyS
Link to comment
Share on other sites

This is a great thread btw.

I tried the code to change .avi files to open in mplayer2.exe. I first changed the association to open with Winamp (it was set to open with WMP10). Then I applied the .cmd file listed below. Needless to say, it didn't work.

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

REG ADD "HKLM\SOFTWARE\Classes\.avi\shell\Open\command" /VE /D "%SHORTPF%\Windows Media Player\mplayer2.exe \"%%1\"" /F

EXIT

This is what was added to my registry...

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.avi\shell\Open\command]
@="C:\\PROGRA~1\\Windows Media Player\\mplayer2.exe \"%1\""

Link to comment
Share on other sites

ok, change of plans.

I found out some info that mplayer2 hasn't been touched since win98, and was recomended to download Media Player Classic.

I did, and i love it - therefore, i'd like to update my request:

associate all the codecs (ex: swgreed's Unattended Codec Pack) with Windows Media Player Classic (classic: start -> run -> mplayerc)

That means no "What would you like to use to open this file" dialogs for ANY movie file type (.avi, .mpg, .mpeg, .qt, .rm, etc.) - just opens in windows media player classic.

Link to comment
Share on other sites

mpc actually supports a command that associates it with all files...try looking at the help file for mpc.  try mplayerc /regaud /regvid and it will register all audio and video types with mpc

sweet! this code did the trick:

mplayerc /regvid

Link to comment
Share on other sites

@a06lp LoL i read that a few time ago but didn't remember it sorry :blushing:

can you help me with 1 thing?: go to your "HKLM\SOFTWARE\Classes\.avi\shell\Open\command" and tell me what you see

No problem, I'm just glad it works.

Although I wish there was a way to know EXACTLY which extensions are classified by MPC as "video" - which ones are ACTUALLY associated with it...

As far as my reg:

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.avi\shell\Open\command]
@="\\Windows Media Player\\mplayer2.exe /Open \"%L\""

Interesting, since I double-click an.avi and it opens in MPC now. I think that it says "mplayer2" there, because I applied that earlier tweak you posted, and it never changed. But it doesn't matter to me, as long as my video files open in MPC.

[edit]

Ok, forget my above complaint - I found a way to check which formats are registered with MPC:

1) Open MPC

2) View -> Options

3) Player -> Formats

:whistle:

[/edit]

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...