Help - Search - Members - Calendar
Full Version: Feature Request: Do not call Explorer.exe directly
Hydrogenaudio Forums > Hosted Forums > foobar2000 > General - (fb2k)
selyb
I use litestep for my shell and every time Fb2k opens a folder, it opens explorer as my shell before it opens the folder view

My request is to make the command to open a folder configurable
hal9001
+1
Personally I never use Windows Explorer, since it's heavy and uncomfortable to my taste. A configurable file explorer option seems like a great idea.
Xezzy
u can use foo_run.dll for this, I used to use it with total commander. Can be used with any program which can use parameters.
selyb
I am not looking for add functionality, I want to change the native functionality
kode54
How do you propose it handle folders? I assume it already uses the native file associations by calling ShellExecute on them.
selyb
QUOTE(kode54 @ May 10 2008, 12:26) *

How do you propose it handle folders? I assume it already uses the native file associations by calling ShellExecute on them.


I could be wrong, but I believe it calls explorer.exe directly

Error Dialog
Process properties showing command line

When I open a run dialog and type 'F:\' it opens it without opening the explorer shell
I get the same result in VBScript if I create a Shell Object and use .Run "F:\"
reil
maybe its doing something like this

where it highlights the file that you're opening? from the way that thread reads, explorer is the only way to select the file in the folder.
kode54
My mistake, that's exactly what it's doing.
Olaf
I second this request.

I'm using explorer, but the /e switch opens the folder with the treeview, which I never use. It's quite annoying to have to close it each time.
saivert
As mentioned use foo_run which allows you to set up your own "Open Containing folder" item, then just remove the native one.

Until the core functionality changes this is your only option I'm afraid.

The easy solution is to put the executable path foobar2000 uses for this as an advanced option. Make the string configurable.
PS! And also to expand all tree items on the advanced configuration page by default.
musicmusic
It seems to like to cause second instances of explorer.exe to run which drives me nuts, as well as not re-using existing windows when they are the same folder.

Doesn't even seem to be a fully qualified path, you can put any executable named explorer.exe in your foobar2000 folder with funny results..

What's wrong with SHOpenFolderAndSelectItems?
smok3
another vote for this to be configurable, it could do multiple thingies as well, example:
- display in right pane of active total commander window
- paste to clipboard
Peter
QUOTE(musicmusic @ Jun 10 2008, 13:25) *

What's wrong with SHOpenFolderAndSelectItems?

Wasn't available on some of target operating systems at the time relevant code was written. Thanks for the tip, I'll use this function instead.
musicmusic
Thank you smile.gif
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.