Help - Search - Members - Calendar
Full Version: foobar in expoler's context menu
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Support - (fb2k)
sandrookie
I found a topic about editing the explorer's context menu here : http://www.hydrogenaudio.org/forums/lofive...php/t37569.html

I used follwoing code for editing the registry:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\foobar2000.play]
@="Play in foobar2000"

[HKEY_CLASSES_ROOT\Directory\shell\foobar2000.play\command]
@="\"C:\\Program Files\\foobar2000\\foobar2000.exe\" \"%1\""

[HKEY_CLASSES_ROOT\Directory\shell\foobar2000.enqueue]
@="Enqueue in foobar2000"

[HKEY_CLASSES_ROOT\Directory\shell\foobar2000.enqueue\command]
@="\"C:\\Program Files\\foobar2000\\foobar2000.exe\" /add \"%1\""

This worked fine for ading folders into foobar. However i would like the same options in the context menu for adding and enqueuing single files in foobar (v 0.9 beta 13).

How can i do this?

JayPP
A little late - but maybe someone is still intrested.
First of all: I'm using W2K - the German version, so I don't know the wording of the english Window versions. And for XP it might be slightly different.

- open the windows explorer
- select "extras" -> "folder options" -> "file types"
- select the file type you want to change the context menu for.
- click "expanded" (or extended? in german it's "erweitert")
- click "new"
- in the upper field you can define what will be shown in the context menu, e.g. "open in foobar"
- in the lower field define the path to your foobar2000.exe. this will open the files in foobar.
e.g.: C:\Programs\foobar2000\foobar2000.exe

- in order to enqueue files the command is different. Difficult to describe, but with the above path it would be

C:\Programs\foobar2000\foobar2000.exe /add "%1"

With space and quotation marks. I hope it gets clear. BTW, this can be applied to folders as well, one of the filetypes is "folder". And you can use this as well for rar, zip, 7z und gzip files. Of cours only when the Archive reader is installed otherwise it won't work.
foosion
"Extras" is called "Tools" in English Windows XP, and "Erweitert" is "Advanced".
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.