Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Registering File Extensions Unattended

* * * * - 1 votes

  • Please log in to reply
145 replies to this topic

#1
SiMoNsAyS

SiMoNsAyS

    C'mon you apes! You wanna live forever!?

  • Patrons
  • 3,455 posts
  • Joined 17-May 04
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" /FREG ADD "HKCU\SOFTWARE\Microsoft\Internet Explorer\Main" /V "ShowedCheckBrowser" /D "yes" /FREG ADD "HKU\.DEFAULT\SOFTWARE\Microsoft\Internet Explorer\Main" /V "Check_Associations" /D "no" /FREG ADD "HKU\.DEFAULT\SOFTWARE\Microsoft\Internet Explorer\Main" /V "ShowedCheckBrowser" /D "yes" /FREG ADD "HKLM\SOFTWARE\Classes\.htm" /VE /D "FirefoxHTML" /FREG ADD "HKLM\SOFTWARE\Classes\.html" /VE /D "FirefoxHTML" /FREG ADD "HKLM\SOFTWARE\Classes\FirefoxHTML\DefaultIcon" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE,1" /FREG ADD "HKLM\SOFTWARE\Classes\FirefoxHTML\shell\open\command" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE -url \"%%1\"" /FREG ADD "HKLM\SOFTWARE\Classes\ftp\DefaultIcon" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE,1" /FREG ADD "HKLM\SOFTWARE\Classes\ftp\shell\open\command" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE -url \"%%1\"" /FREG ADD "HKLM\SOFTWARE\Classes\gopher\DefaultIcon" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE,1" /FREG ADD "HKLM\SOFTWARE\Classes\gopher\shell\open\command" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE -url \"%%1\"" /FREG ADD "HKLM\SOFTWARE\Classes\http\DefaultIcon" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE,1" /FREG ADD "HKLM\SOFTWARE\Classes\http\shell\open\command" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE -url \"%%1\"" /FREG ADD "HKLM\SOFTWARE\Classes\https\DefaultIcon" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE,1" /FREG ADD "HKLM\SOFTWARE\Classes\https\shell\open\command" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE -url \"%%1\"" /FREG ADD "HKLM\SOFTWARE\Clients\StartMenuInternet" /VE /D "FIREFOX.EXE" /FREG DELETE "HKLM\SOFTWARE\Classes\http\shell\open\ddeexec" /FREG ADD "HKLM\SOFTWARE\Classes\http\shell\open\ddeexec\Application" /VE /D "FIREFOX" /FREG DELETE "HKLM\SOFTWARE\Classes\https\shell\open\ddeexec" /FREG ADD "HKLM\SOFTWARE\Classes\https\shell\open\ddeexec\Application" /VE /D "FIREFOX" /FREG DELETE "HKLM\SOFTWARE\Classes\ftp\shell\open\ddeexec" /FREG ADD "HKLM\SOFTWARE\Classes\ftp\shell\open\ddeexec\Application" /VE /D "FIREFOX" /FREG DELETE "HKLM\SOFTWARE\Classes\gopher\shell\open\ddeexec" /FREG 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\"" /fREG ADD "HKLM\SOFTWARE\Classes\RealPlayer.RAM.6\shell\Open\command" /VE /D "%SHORTPF%\Windows Media Player\wmplayer.exe /Open \"%%L\"" /fREG ADD "HKLM\SOFTWARE\Classes\RealPlayer.RM.6\shell\Open\command" /VE /D "%SHORTPF%\Windows Media Player\wmplayer.exe /Open \"%%L\"" /fREG ADD "HKLM\SOFTWARE\Classes\RealPlayer.RV.6\shell\Open\command" /VE /D "%SHORTPF%\Windows Media Player\wmplayer.exe /Open \"%%L\"" /fREG ADD "HKLM\SOFTWARE\Classes\movfile\shell\Open\command" /VE /D "%SHORTPF%\Windows Media Player\wmplayer.exe /Open \"%%L\"" /fREG ADD "HKLM\SOFTWARE\Classes\movfile\DefaultIcon" /VE /D "%systemroot%\system32\QuickTime\quicktime.ico" /fREG ADD "HKLM\SOFTWARE\Classes\qtfile\shell\Open\command" /VE /D "%SHORTPF%\Windows Media Player\wmplayer.exe /Open \"%%L\"" /fREG ADD "HKLM\SOFTWARE\Classes\movfile\DefaultIcon" /VE /D "%systemroot%\system32\QuickTime\quicktime.ico" /fREG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.rm" /v "Runtime" /t REG_DWORD /d 1 /fREG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.rm" /v "Permissions" /t REG_DWORD /d 1 /fREG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.ram" /v "Runtime" /t REG_DWORD /d 1 /fREG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.ram" /v "Permissions" /t REG_DWORD /d 1 /fREG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.ra" /v "Runtime" /t REG_DWORD /d 1 /fREG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.ra" /v "Permissions" /t REG_DWORD /d 1 /fREG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.mov" /v "Runtime" /t REG_DWORD /d 1 /fREG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.mov" /v "Permissions" /t REG_DWORD /d 1 /fREG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.qt" /v "Runtime" /t REG_DWORD /d 1 /fREG 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\"" /fREG ADD "HKLM\SOFTWARE\Classes\.ogg\DefaultIcon" /VE /D "%SHORTPF%\Windows Media Player\wmplayer.exe,0" /fREG ADD "HKLM\SOFTWARE\Classes\.flac\shell\Open\command" /VE /D "%SHORTPF%\Windows Media Player\wmplayer.exe /Open \"%%L\"" /fREG ADD "HKLM\SOFTWARE\Classes\.flac\DefaultIcon" /VE /D "%SHORTPF%\Windows Media Player\wmplayer.exe,0" /fREG ADD "HKLM\SOFTWARE\Classes\.3gp\DefaultIcon" /VE /D "%SHORTPF%\Windows Media Player\wmplayer.exe,0" /fREG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.ogg" /v "Runtime" /t REG_DWORD /d 1 /fREG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.ogg" /v "Permissions" /t REG_DWORD /d 1 /fREG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.flac" /v "Runtime" /t REG_DWORD /d 1 /fREG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.flac" /v "Permissions" /t REG_DWORD /d 1 /fREG ADD "HKCU\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.3gp" /v "Runtime" /t REG_DWORD /d 1 /fREG 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" /FREG ADD "HKLM\SOFTWARE\Classes\.bw" /VE /D "ACDC_BW" /FREG ADD "HKLM\SOFTWARE\Classes\.dcx" /VE /D "ACDC_DCX" /FREG ADD "HKLM\SOFTWARE\Classes\.dib" /VE /D "ACDC_DIB" /FREG ADD "HKLM\SOFTWARE\Classes\.emf" /VE /D "ACDC_EMF" /FREG ADD "HKLM\SOFTWARE\Classes\.gif" /VE /D "ACDC_GIF" /FREG ADD "HKLM\SOFTWARE\Classes\.iff" /VE /D "ACDC_IFF" /FREG ADD "HKLM\SOFTWARE\Classes\.ilbm" /VE /D "ACDC_ILBM" /FREG ADD "HKLM\SOFTWARE\Classes\.jfif" /VE /D "ACDC_JFIF" /FREG ADD "HKLM\SOFTWARE\Classes\.jif" /VE /D "ACDC_JIF" /FREG ADD "HKLM\SOFTWARE\Classes\.jpe" /VE /D "ACDC_JPE" /FREG ADD "HKLM\SOFTWARE\Classes\.jpeg" /VE /D "ACDC_JPEG" /FREG ADD "HKLM\SOFTWARE\Classes\.jpg" /VE /D "ACDC_JPG" /FREG ADD "HKLM\SOFTWARE\Classes\.kdc" /VE /D "ACDC_KDC" /FREG ADD "HKLM\SOFTWARE\Classes\.lbm" /VE /D "ACDC_LBM" /FREG ADD "HKLM\SOFTWARE\Classes\.pcd" /VE /D "ACDC_PCD" /FREG ADD "HKLM\SOFTWARE\Classes\.pcx" /VE /D "ACDC_PCX" /FREG ADD "HKLM\SOFTWARE\Classes\.pic" /VE /D "ACDC_PIC" /FREG ADD "HKLM\SOFTWARE\Classes\.pix" /VE /D "ACDC_PIX" /FREG ADD "HKLM\SOFTWARE\Classes\.png" /VE /D "ACDC_PNG" /FREG ADD "HKLM\SOFTWARE\Classes\.psd" /VE /D "ACDC_PSD" /FREG ADD "HKLM\SOFTWARE\Classes\.rgb" /VE /D "ACDC_RGB" /FREG ADD "HKLM\SOFTWARE\Classes\.rgba" /VE /D "ACDC_RGBA" /FREG ADD "HKLM\SOFTWARE\Classes\.rle" /VE /D "ACDC_RLE" /FREG ADD "HKLM\SOFTWARE\Classes\.sgi" /VE /D "ACDC_SGI" /FREG ADD "HKLM\SOFTWARE\Classes\.tga" /VE /D "ACDC_TGA" /FREG ADD "HKLM\SOFTWARE\Classes\.tif" /VE /D "ACDC_TIF" /FREG ADD "HKLM\SOFTWARE\Classes\.tiff" /VE /D "ACDC_TIFF" /FREG ADD "HKLM\SOFTWARE\Classes\.wmf" /VE /D "ACDC_WMF" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_BMP\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,2" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_BW\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,14" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_DCX\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,9" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_DIB\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,2" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_EMF\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,3" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_GIF\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,4" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_IFF\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,5" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_ILBM\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,5" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_JFIF\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,6" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_JIF\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,6" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_JPE\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,6" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_JPEG\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,6" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_JPG\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,6" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_KDC\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,7" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_LBM\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,5" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_PCD\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,8" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_PCX\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,9" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_PIC\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,10" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_PIX\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,11" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_PNG\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,12" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_PSD\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,13" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_RGB\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,14" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_RGBA\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,14" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_RLE\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,2" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_SGI\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,14" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_TGA\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,15" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_TIF\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,16" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_TIFF\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,16" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_WMF\DefaultIcon" /VE /D "%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe,17" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_BMP\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_BW\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_DCX\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_DIB\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_EMF\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_GIF\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_IFF\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_ILBM\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_JFIF\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_JIF\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_JPE\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_JPEG\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_JPG\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_KDC\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_LBM\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_PCD\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_PCX\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_PIC\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_PIX\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_PNG\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_PSD\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_RGB\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_RGBA\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_RLE\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_SGI\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_TGA\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_TIF\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /FREG ADD "HKLM\SOFTWARE\Classes\ACDC_TIFF\shell\Open\Command" /VE /D "\"%SHORTPF%\ACD Systems\ACDSee32\ACDSee32.exe\" /v" /FREG 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" /FREG ADD "HKCR\.ASX" /VE /D "BSPlayerFile.ASX" /FREG ADD "HKCR\.AVI" /VE /D "BSPlayerFile.AVI" /FREG ADD "HKCR\.bsi" /VE /D "BSP.inif" /FREG ADD "HKCR\.bsl" /VE /D "BSP.plist" /FREG ADD "HKCR\.bsz" /VE /D "BSP.SkinZip" /FREG ADD "HKCR\.DIVX" /VE /D "BSPlayerFile.DIVX" /FREG ADD "HKCR\.M2V" /VE /D "BSPlayerFile.M2V" /FREG ADD "HKCR\.MKV" /VE /D "BSPlayerFile.MKV" /FREG ADD "HKCR\.MPEG" /VE /D "BSPlayerFile.MPEG" /FREG ADD "HKCR\.MPG" /VE /D "BSPlayerFile.MPG" /FREG ADD "HKCR\.OGM" /VE /D "BSPlayerFile.OGM" /FREG ADD "HKCR\.VOB" /VE /D "BSPlayerFile.VOB" /FREG ADD "HKCR\.WMV" /VE /D "BSPlayerFile.WMV" /FREG ADD "HKCR\BSPlayerFile.ASF\DefaultIcon" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe,3" /fREG ADD "HKCR\BSPlayerFile.ASX\DefaultIcon" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe,3" /fREG ADD "HKCR\BSPlayerFile.AVI\DefaultIcon" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe,3" /fREG ADD "HKCR\BSP.inif\DefaultIcon" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe,3" /fREG ADD "HKCR\BSP.plist\DefaultIcon" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe,3" /fREG ADD "HKCR\BSP.SkinZip\DefaultIcon" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe,3" /fREG ADD "HKCR\BSPlayerFile.DIVX\DefaultIcon" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe,3" /fREG ADD "HKCR\BSPlayerFile.M2V\DefaultIcon" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe,3" /fREG ADD "HKCR\BSPlayerFile.MKV\DefaultIcon" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe,3" /fREG ADD "HKCR\BSPlayerFile.MPEG\DefaultIcon" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe,3" /fREG ADD "HKCR\BSPlayerFile.MPG\DefaultIcon" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe,3" /fREG ADD "HKCR\BSPlayerFile.OGM\DefaultIcon" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe,3" /fREG ADD "HKCR\BSPlayerFile.VOB\DefaultIcon" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe,3" /fREG ADD "HKCR\BSPlayerFile.WMV\DefaultIcon" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe,3" /fREG ADD "HKCR\BSPlayerFile.ASF\shell\open\command" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe \"%%L\"" /fREG ADD "HKCR\BSPlayerFile.ASX\shell\open\command" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe \"%%L\"" /fREG ADD "HKCR\BSPlayerFile.AVI\shell\open\command" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe \"%%L\"" /fREG ADD "HKCR\BSP.inif\shell\open\command" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe \"%%L\"" /fREG ADD "HKCR\BSP.plist\shell\open\command" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe \"%%L\"" /fREG ADD "HKCR\BSP.SkinZip\shell\open\command" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe \"%%L\"" /fREG ADD "HKCR\BSPlayerFile.DIVX\shell\open\command" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe \"%%L\"" /fREG ADD "HKCR\BSPlayerFile.M2V\shell\open\command" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe \"%%L\"" /fREG ADD "HKCR\BSPlayerFile.MKV\shell\open\command" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe \"%%L\"" /fREG ADD "HKCR\BSPlayerFile.MPEG\shell\open\command" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe \"%%L\"" /fREG ADD "HKCR\BSPlayerFile.MPG\shell\open\command" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe \"%%L\"" /fREG ADD "HKCR\BSPlayerFile.OGM\shell\open\command" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe \"%%L\"" /fREG ADD "HKCR\BSPlayerFile.VOB\shell\open\command" /VE /D "%SHORTPF%\Webteh\BSplayerPro\bsplayer.exe \"%%L\"" /fREG 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, 04 September 2005 - 08:01 AM.



How to remove advertisement from MSFN

#2
DigeratiPrime

DigeratiPrime

    MSFN Junkie

  • Patrons
  • 3,550 posts
  • Joined 18-August 04
  • OS:Windows 7 x64
  • Country: Country Flag
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, 14 November 2004 - 03:47 PM.

Recommended Software: KeePass | Microsoft ICE | VisualWget | Vitamin D Video |

#3
SiMoNsAyS

SiMoNsAyS

    C'mon you apes! You wanna live forever!?

  • Patrons
  • 3,455 posts
  • Joined 17-May 04
@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 :)

#4
a06lp

a06lp

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 976 posts
  • Joined 19-August 04
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.

#5
SiMoNsAyS

SiMoNsAyS

    C'mon you apes! You wanna live forever!?

  • Patrons
  • 3,455 posts
  • Joined 17-May 04
@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.

#6
a06lp

a06lp

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 976 posts
  • Joined 19-August 04

@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)

#7
lilweirddude

lilweirddude

    Senior Member

  • Member
  • PipPipPipPip
  • 573 posts
  • Joined 24-August 04
is that firefox one the same one in your other thread?

#8
SiMoNsAyS

SiMoNsAyS

    C'mon you apes! You wanna live forever!?

  • Patrons
  • 3,455 posts
  • Joined 17-May 04

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, 02 November 2004 - 09:58 PM.


#9
a06lp

a06lp

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 976 posts
  • Joined 19-August 04

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

ok... :thumbup

#10
Powerhouse

Powerhouse

    Member

  • Member
  • PipPip
  • 137 posts
  • Joined 17-September 04
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\""


#11
a06lp

a06lp

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 976 posts
  • Joined 19-August 04
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.

#12
evilvoice

evilvoice

    Ditchy McAbandonpants

  • Member
  • PipPipPipPipPip
  • 946 posts
  • Joined 27-January 04
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
When I spotted this little cutie with some sex appeal. I winked at her, she gave me a look like I'm a booger. I thought b***h, I'd rather spend my money on a hooker. Then a bright idea ran across my mind, if I could swipe a manikin I'd have a freak all the time.

#13
a06lp

a06lp

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 976 posts
  • Joined 19-August 04

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


#14
SiMoNsAyS

SiMoNsAyS

    C'mon you apes! You wanna live forever!?

  • Patrons
  • 3,455 posts
  • Joined 17-May 04
@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

#15
a06lp

a06lp

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 976 posts
  • Joined 19-August 04

@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]

#16
Powerhouse

Powerhouse

    Member

  • Member
  • PipPip
  • 137 posts
  • Joined 17-September 04
Just for those who don't want to do a search, here are the code for RunOnceEx.cmd...

REG ADD %KEY%\087 /V 2 /D "\"%programfiles%\Media Player Classic\mplayerc.exe\" /regvid" /f

From this post.


I would still like to know how to associate all the Video Files with WMP10. But I believe the code Simonsays posted wont work for individuals who logon. I think you need HKCU settings, not HKLM.

#17
SiMoNsAyS

SiMoNsAyS

    C'mon you apes! You wanna live forever!?

  • Patrons
  • 3,455 posts
  • Joined 17-May 04
powerhouse i only use 1 of the users but if you want you can change HKLM\Software\Classes entries to HKCU\Software\Classes

#18
SiMoNsAyS

SiMoNsAyS

    C'mon you apes! You wanna live forever!?

  • Patrons
  • 3,455 posts
  • Joined 17-May 04
First post is updated. Many changes, check them out! :thumbup

there was a really big challenge to find acdsee32 and bsplayer keys!

edit: added 3gp files.

Edited by SiMoNsAyS, 05 November 2004 - 09:10 PM.


#19
DigeratiPrime

DigeratiPrime

    MSFN Junkie

  • Patrons
  • 3,550 posts
  • Joined 18-August 04
  • OS:Windows 7 x64
  • Country: Country Flag
FLAC and OGG both opened with WMP10, yet you still need to tell it to "never ask about this extension again" when the warning comes up the first time.
[EDIT] Solution add this to registry:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.flac]
"Runtime"=dword:00000001
"Permissions"=dword:00000001

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\.ogg]
"Runtime"=dword:00000001
"Permissions"=dword:00000001
This code looks identical to yours though, I am doing something wrong? However that doesnt fix this next issue:

I've noticed a few things though, these files have a different Icon from other registered media files. And they cannot be added to Media Player with the Context Menu or Music Tasks. I attatched a picture to show what I mean.
Nothing is really wrong here, its just missing some functionality.

If I select them>right click>open WMP only opens one of them or crashes.
Recommended Software: KeePass | Microsoft ICE | VisualWget | Vitamin D Video |

#20
sixpack

sixpack

    Senior Member

  • Member
  • PipPipPipPip
  • 515 posts
  • Joined 29-May 04

First post is updated. Many changes, check them out! :thumbup

there was a really big challenge to find acdsee32 and bsplayer keys!

edit: added 3gp files.

thanks for your hard work :thumbup
Never say, "Oops!" always say, "Ah, interesting!"

#21
Timorad

Timorad

    Newbie

  • Member
  • 19 posts
  • Joined 26-August 04
Does anyone know how to register archives (zip, rar, cab etc) to winrar?

#22
SiMoNsAyS

SiMoNsAyS

    C'mon you apes! You wanna live forever!?

  • Patrons
  • 3,455 posts
  • Joined 17-May 04
@DigeratiPrime the code to avoid the warns for those filetypes is correct, try importing it again. referring to the file icon, you can change it, take a look at the code again, and there's no missing funcionality, you can change "shell/Open" with "shell/Play" to get the same menu entries.

Does anyone know how to register archives (zip, rar, cab etc) to winrar?

options>export/import>export settings to file on the winrar main gui

[edit]solved a little glitch unmounting iso images[/edit]

Edited by SiMoNsAyS, 06 November 2004 - 10:47 AM.


#23
Timorad

Timorad

    Newbie

  • Member
  • 19 posts
  • Joined 26-August 04

Does anyone know how to register archives (zip, rar, cab etc) to winrar?

options>export/import>export settings to file on the winrar main gui

Yeah I figured this. However, Winrar needs to be started first before the file extensions are actually taken over by winrar.

#24
SiMoNsAyS

SiMoNsAyS

    C'mon you apes! You wanna live forever!?

  • Patrons
  • 3,455 posts
  • Joined 17-May 04
@Timorad you just need this .reg file

Attached Files



#25
Timorad

Timorad

    Newbie

  • Member
  • 19 posts
  • Joined 26-August 04

@Timorad you just need this .reg file

I know about the ability to export settings to a reg file. When the unattended installation is finished, archived files are not directly opened by winrar. It just pops up the standard windows-window, asking with what program I want to open the file. Only AFTER I manually start the winrar executable, the settings are read out, and the files are actually associated with winrar.

It isn't a big problem (I guess I can start winrar in the unattended process, and kill it afterwards), but I was hoping there would be a better solution.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users