Open folder in a new Tab instead of new Window

Have a suggestion for "Everything"? Please post it here.
Post Reply
elorien88
Posts: 2
Joined: Sat Oct 22, 2022 10:47 pm

Open folder in a new Tab instead of new Window

Post by elorien88 »

Hi everyone.

First of all thank you for your great software!

Windows 11 22H2 introduced tabs in File Explorer.
Is it possibile to add an option to open a folder found in everything as a new tab of an existing File Explorer instance instead opening a new File explorer WIndow?

Thank you
void
Developer
Posts: 15352
Joined: Fri Oct 16, 2009 11:31 pm

Re: Open folder in a new Tab instead of new Window

Post by void »

Thank you for your feedback elorien88,

My question is does anyone know the command line option to open in a new tab with Explorer.exe?

To customize how Everything opens folders:
  • In Everything, from the Tools menu, click Options.
  • Click the Context menu tab on the left.
  • Select Open (Folders)
  • Change the Command to:
    $exec("%WINDIR%\Explorer.exe" "%1")
  • Select Open Path
  • Change the Command to:
    $exec("%WINDIR%\Explorer.exe" "$parent(%1)")
  • Click OK.
elorien88
Posts: 2
Joined: Sat Oct 22, 2022 10:47 pm

Re: Open folder in a new Tab instead of new Window

Post by elorien88 »

Hi, thank you for your response.

I customized the Open (Folders) command as you said but folders continue to open in a new window instead of adding a new tab in file explorer.
horst.epp
Posts: 1345
Joined: Fri Apr 04, 2014 3:24 pm

Re: Open folder in a new Tab instead of new Window

Post by horst.epp »

elorien88 wrote: Sun Oct 23, 2022 8:17 pm Hi, thank you for your response.

I customized the Open (Folders) command as you said but folders continue to open in a new window instead of adding a new tab in file explorer.
Thats expected.
As Void said no one currently knows a command line switch for opening Explorer with a new tab.
There is also no setting in Explorer itself to make this the default.
So you have to wait until we know more about this.

For me its only for interest as I use 3rd party file managers
which all have options to be started from Everything in a new tab.
christophe
Posts: 35
Joined: Wed Mar 22, 2023 12:05 pm

Re: Open folder in a new Tab instead of new Window

Post by christophe »

We are now in March 2023, is there now a way to open Everything folder results in the current File Explorer Windows (or in a File Explorer TAB instead of a new File Explorer New window)
Image

People having Windows 11 22H2 only want to have a single File Explorer window opened. Not severals
NotNull
Posts: 5261
Joined: Wed May 24, 2017 9:22 pm

Re: Open folder in a new Tab instead of new Window

Post by NotNull »

No. Microsoft is to blame for that. As soon as they come with a command to open a folder in a new tab, Everything can be configured to use it.
Until then, everyone - not just Everything users - is stuck with a 30% "solution" (dragging tabs from one Explorer to another - like in a browser - is still missing too)
christophe
Posts: 35
Joined: Wed Mar 22, 2023 12:05 pm

Re: Open folder in a new Tab instead of new Window

Post by christophe »

Apparently it is not true, I read that some tools like Everything are able to open result in current File Explorer window : I have not tried them myself. Can someone having them confirm ?
It would be great if you could share the configuration command it is using.
horst.epp
Posts: 1345
Joined: Fri Apr 04, 2014 3:24 pm

Re: Open folder in a new Tab instead of new Window

Post by horst.epp »

christophe wrote: Fri Mar 24, 2023 6:48 am Apparently it is not true, I read that some tools like Everything are able to open result in current File Explorer window : I have not tried them myself. Can someone having them confirm ?
It would be great if you could share the configuration command it is using.
Both are working for me but none of it use a command line switch.

The author of QAP said in the support forum

Version: 11.5.10 (2022-11-07)
- when running on Windows 11 22H2 (build 22621.675 released October 18 or more recent) and preferred file manager is Windows Explorer:
- add in "Options, File Managers" a checkbox to open folders in a new tab of active (or last used) Windows Explorer instead of in a new Explorer window
- change method to navigate folder in the active tab using internal Windows object (change not visible to user)
christophe
Posts: 35
Joined: Wed Mar 22, 2023 12:05 pm

Re: Open folder in a new Tab instead of new Window

Post by christophe »

That's interesting !
It is great: it confirm it is possible to have a result being opened in the active File Explorer window or a new tab of it :)
contrary to what was said til now

Currently in Everything, it opens a NEW File Explorer windows, instead of opening it in your current File Explorer window or in a tab of it.
It is a major annoyance !
I really wish this can be fixed very soon.

As the QAP author refers in his release notes : this annoyance is worse since Windows 22h2 since people now work in a single and unique File Explorer window thanks to the new tab feature.
NotNull
Posts: 5261
Joined: Wed May 24, 2017 9:22 pm

Re: Open folder in a new Tab instead of new Window

Post by NotNull »

christophe wrote: Fri Mar 24, 2023 10:29 am I really wish this can be fixed very soon.
Everything uses a command-line to open the configured file manager in the right folder.
For explorer this is currently $exec("%1") or $exec("%SystemRoot%\explorer.exe" /n,/e,"%1")
(where %1 gets replaced with the selected file/folder).

If you know a way to open a new tab in explorer with a specified file/folder using a command, please let us know.
christophe
Posts: 35
Joined: Wed Mar 22, 2023 12:05 pm

Re: Open folder in a new Tab instead of new Window

Post by christophe »

@horst.epp
Can you have a look at the command for File Explorer used in QAP and Listary ?
horst.epp
Posts: 1345
Joined: Fri Apr 04, 2014 3:24 pm

Re: Open folder in a new Tab instead of new Window

Post by horst.epp »

christophe wrote: Fri Mar 24, 2023 3:39 pm @horst.epp
Can you have a look at the command for File Explorer used in QAP and Listary ?
Thats handled internaly by QAP.
I already asked the author about any new switch
and he doesn't know a way to do it with a command line.
christophe
Posts: 35
Joined: Wed Mar 22, 2023 12:05 pm

Re: Open folder in a new Tab instead of new Window

Post by christophe »

So if it is not possible via a command, Everything should do it like QAP, because this is an ESSENTIAL feature!
christophe
Posts: 35
Joined: Wed Mar 22, 2023 12:05 pm

Re: Open folder in a new Tab instead of new Window

Post by christophe »

Other people are reporting it to: and choose Listary because Everything does not have this feaure viewtopic.php?p=49346#p49346
horst.epp wrote: Mon Oct 10, 2022 6:55 am
zer0nix wrote: Sun Oct 09, 2022 11:53 pm Just out of curiosity, what functions does listary provide that everything does not?
Jump to current file manager path in Open/Save dialogs.
Jump fast to any path in the file manager if Listary is executed from inside of its window.

Both function can be replaced with Quick Switch and Jump to Folders AHK scripts
from NotNull here in the forum.

Listary does its job without any further effort from the user
so I still let it run in the background.
Post Reply