Every time I explore a path/directory from within Everything, it spawns a new Explorer.exe process. Additionally, these new processes don't disappear when I close the folder that was opened.
Is it possible to prevent this? I currently have 5 extra Explorer's open right now that were spawned by Everything, even though the original folders have already been closed.
Everything spawns more and more Explorer.exe's
-
- Posts: 79
- Joined: Sun Jul 13, 2014 12:20 am
Re: Everything spawns more and more Explorer.exe's
Does changing Launch folder windows in a separate process make any difference?
To toggle this option:
From the Start menu, click Control Panel.
Open Folder Options.
Click the View tab.
Check or uncheck Launch folder windows in a separate process.
Click OK.
There's not much I can do to prevent this, it sounds like an issue with Windows Explorer.
Does this issue occur if you run Explorer.exe manually or from other applications?
To toggle this option:
From the Start menu, click Control Panel.
Open Folder Options.
Click the View tab.
Check or uncheck Launch folder windows in a separate process.
Click OK.
There's not much I can do to prevent this, it sounds like an issue with Windows Explorer.
Does this issue occur if you run Explorer.exe manually or from other applications?
Re: Everything spawns more and more Explorer.exe's
I see them being created, but then I also see them being destructed after < 30 seconds after closing the Explorer window.
Win7.
Launch folder windows in a separate process is unchecked in my case.
Windows Explorer does not open a new explorer.exe process for each window.
Windows Explorer does not open a new explorer.exe process for each window even when Launch folder windows in a separate process is enabled.
With Launch folder windows in a separate process is enabled, directories opened from within Everything still creates additional explorer.exe processes, but again, they do still die after a short period of time after closing the window.
Win7.
Launch folder windows in a separate process is unchecked in my case.
Windows Explorer does not open a new explorer.exe process for each window.
Windows Explorer does not open a new explorer.exe process for each window even when Launch folder windows in a separate process is enabled.
With Launch folder windows in a separate process is enabled, directories opened from within Everything still creates additional explorer.exe processes, but again, they do still die after a short period of time after closing the window.
-
- Posts: 79
- Joined: Sun Jul 13, 2014 12:20 am
Re: Everything spawns more and more Explorer.exe's
I've always had "Launch folder windows in a separate process" disabled.
Doing this in other programs doesn't have the problem. For example, in uTorrent, double-clicking to open folders doesn't spawn any additional Explorers, nor does right-clicking and selecting "Open containing folder".
What's strange is that, in Everything, if there are folders that appear as results of a search, if I double-click a folder-result, it opens a window but doesn't start any additional Explorer.exe's. However, if I instead double-click the path of a search result, it opens a window that spawns a new Explorer.exe "/factory...-Embedding". Additionally, if I right-click a search result and do "Open path", this also spawns new Explorer.exe's, as well as the keyboard shortcut I've set in Everything for that function.
Is it possible to use the same function for this that happens when we double-click a folder-result? I don't understand why new Explorer's have to be spawned with these extra switches/parameters (i.e., "Explorer.exe /factory,{75dff2b7-6936-4c06-a8bb-676a7b0024b} -Embedding"). Is it possible to use already-existing Explorer.exe, without the new process + switches?
Doing this in other programs doesn't have the problem. For example, in uTorrent, double-clicking to open folders doesn't spawn any additional Explorers, nor does right-clicking and selecting "Open containing folder".
What's strange is that, in Everything, if there are folders that appear as results of a search, if I double-click a folder-result, it opens a window but doesn't start any additional Explorer.exe's. However, if I instead double-click the path of a search result, it opens a window that spawns a new Explorer.exe "/factory...-Embedding". Additionally, if I right-click a search result and do "Open path", this also spawns new Explorer.exe's, as well as the keyboard shortcut I've set in Everything for that function.
Is it possible to use the same function for this that happens when we double-click a folder-result? I don't understand why new Explorer's have to be spawned with these extra switches/parameters (i.e., "Explorer.exe /factory,{75dff2b7-6936-4c06-a8bb-676a7b0024b} -Embedding"). Is it possible to use already-existing Explorer.exe, without the new process + switches?
Re: Everything spawns more and more Explorer.exe's
It appears the issue only occurs when passing a command line option to explorer.Is it possible to use the same function for this that happens when we double-click a folder-result?
Please try changing the open path command to open explorer with no parameters:
- In Everything, from the Tools menu, click Options.
- Click the Context Menu tab.
- Select Open Path.
- Change the Command to:
Code: Select all
$exec($parent("%1"))
- Click OK.
Re: Everything spawns more and more Explorer.exe's
> $exec($parent("%1"))
With that, I look to get only 1 explorer.exe process firing up (XP).
With that, I look to get only 1 explorer.exe process firing up (XP).
-
- Posts: 79
- Joined: Sun Jul 13, 2014 12:20 am
Re: Everything spawns more and more Explorer.exe's
It works!! Fantastic!!void wrote:It appears the issue only occurs when passing a command line option to explorer.Is it possible to use the same function for this that happens when we double-click a folder-result?
Please try changing the open path command to open explorer with no parameters:
- In Everything, from the Tools menu, click Options.
- Click the Context Menu tab.
- Select Open Path.
- Change the Command to:
Code: Select all
$exec($parent("%1"))
- Click OK.
What's the difference with this setting? Why isn't it the default?
Re: Everything spawns more and more Explorer.exe's
This command does not select the file you had selected in Everything.What's the difference with this setting? Why isn't it the default?
I will review making this the default option.
Re: Everything spawns more and more Explorer.exe's
I'd much rather retain the existing method as that provides focus to the selected file (name) in Windows Explorer.
-
- Posts: 1
- Joined: Mon Dec 01, 2014 2:34 am
Re: Everything spawns more and more Explorer.exe's
maybe we can use the shortcut way?
if we create shortcut of a file or folder,and right clicking it we get the OpenContainingFolderMenu({37ea3a21-7493-4208-a011-7f9ea79ce9f5}) . both in explorer or in everyting.
and this OpenContainingFolderMenuworks well.
added
ref http://stackoverflow.com/questions/3010 ... n-explorer
void BrowseToFile(LPCTSTR filename)
{
CoInitialize(NULL);
ITEMIDLIST *pidl = ILCreateFromPath(filename);
if(pidl) {
SHOpenFolderAndSelectItems(pidl,0,0,0);
ILFree(pidl);
}
CoUninitialize();
}
with attachment ang config like this
$exec("C:\Windows\OpenContainingFolder.exe" "%1")
we can solved this.
if we create shortcut of a file or folder,and right clicking it we get the OpenContainingFolderMenu({37ea3a21-7493-4208-a011-7f9ea79ce9f5}) . both in explorer or in everyting.
and this OpenContainingFolderMenuworks well.
added
ref http://stackoverflow.com/questions/3010 ... n-explorer
void BrowseToFile(LPCTSTR filename)
{
CoInitialize(NULL);
ITEMIDLIST *pidl = ILCreateFromPath(filename);
if(pidl) {
SHOpenFolderAndSelectItems(pidl,0,0,0);
ILFree(pidl);
}
CoUninitialize();
}
with attachment ang config like this
$exec("C:\Windows\OpenContainingFolder.exe" "%1")
we can solved this.
- Attachments
-
- OpenContainingFolder.7z
- (3.09 KiB) Downloaded 475 times