Hydrogenaudio Forums

Hosted Forums => foobar2000 => General - (fb2k) => Topic started by: spase on 2002-12-16 08:11:25

Title: File Associations
Post by: spase on 2002-12-16 08:11:25
maybe someone knows of an easy way to set windows to use foobar for the files it supports?

if not, maybe someone can make a installer that does this or something?
Title: File Associations
Post by: madah on 2002-12-16 13:23:29
Save this into foobar.reg and double-click on it:

You'll have to change the path (on both places)  where you have foobar2000.exe located

Code: [Select]
REGEDIT4

[HKEY_CLASSES_ROOT\foobar2000file]
@="Foobar2000 Media File"

[HKEY_CLASSES_ROOT\foobar2000file\DefaultIcon]
@="C:\Program files\Foobar2000\foobar2000.exe,0"

[HKEY_CLASSES_ROOT\foobar2000file\shell]

[HKEY_CLASSES_ROOT\foobar2000file\shell\open]

[HKEY_CLASSES_ROOT\foobar2000file\shell\open\command]
@="\"C:\Program files\Foobar2000\foobar2000.exe\" \"%1\""

[HKEY_CLASSES_ROOT\.m3u]
@="foobar2000file"

[HKEY_CLASSES_ROOT\.m3u8]
@="foobar2000file"

[HKEY_CLASSES_ROOT\.mp3]
@="foobar2000file"

[HKEY_CLASSES_ROOT\.mpc]
@="foobar2000file"

[HKEY_CLASSES_ROOT\.ogg]
@="foobar2000file"

[HKEY_CLASSES_ROOT\.flac]
@="foobar2000file"

[HKEY_CLASSES_ROOT\.ape]
@="foobar2000file"

[HKEY_CLASSES_ROOT\.spc]
@="foobar2000file"

[HKEY_CLASSES_ROOT\.mod]
@="foobar2000file"

[HKEY_CLASSES_ROOT\.s3m]
@="foobar2000file"

[HKEY_CLASSES_ROOT\.xm]
@="foobar2000file"

[HKEY_CLASSES_ROOT\.it]
@="foobar2000file"
Title: File Associations
Post by: RIV@NVX on 2002-12-16 20:28:53
This solution doesn't work in XP (puts playback to WMP).
Title: File Associations
Post by: Sawg on 2002-12-16 20:54:39
Go into WMPs preferences and make sure you unselect the above file formats for associations.  It is probably seeing the changes and taking them back.  I hate when programs preserve file associations without asking.
SimplePortal 1.0.0 RC1 © 2008-2020