A Context Menu Option To Reopen The Last File Explorer Window

  1. pepanee's Avatar
    Posts : 1,138
    Windows 10 Professional
       06 Feb 2018 #1

    A Context Menu Option To Reopen The Last File Explorer Window

    Hello. So I noticed that sometimes when I close a File Explorer window, I want to undo closing it and bring in back so I can use it. The only possible method that I know is just to go back to File Explorer and re-navigate back to that folder.

    So let's take an example.
    I have a File Explorer window open at this location: X:\My Stuff\My Assets\My Electronics\My Phone
    I'm browsing around in that folder, then I press the Close button.
    Two seconds later, I decide that I want to copy a file from over there. So I open the Computer icon from the Desktop and browse back to that folder again. Is there a way to add an option in the right click menu that would bring back that same exact folder, instead of re-navigating to it?

    Other notes:
    • It would be an option very similar to Google Chrome's idea: "Reopen closed tab"
    Click image for larger version. 

Name:	Reopen closed tab.png 
Views:	38 
Size:	16.5 KB 
ID:	175808

    • Technically speaking, is there a Registry value that saves the location of the last open folder in File Explorer? That would most likely make this option possible.

    • There's an option in Microsoft Windows that remembers all the open File Explorer windows before powering down the computer. And when the computer starts back up, it would reopen those folders. So Windows has the ability to remember the recent past about opened folders.
    Click image for larger version. 

Name:	Restore Previous Folders.png 
Views:	38 
Size:	17.0 KB 
ID:	175809

    I hope you know some info about this. Thanks!

    ***EDIT***: I found third party programs that can do that
    (like: http://www.thewindowsclub.com/undocl...closed-folders),
    yet I don't want a third party program that stays open. I just want an option that sits in the right click menu which executes a command to open the last opened folder. Thanks
      My ComputerSystem Spec

  2.    06 Feb 2018 #2

    I use 2 3rd party programs that provide that sort of functionality- and not just in explorer.

    One is Actual Window Manager, which adds a variety of buttons on the title bar. One of these is Recent Folders.
    -> Launch explorer, click button, click recent folder.

    Another is Listary (free provides most functions), which provides a number of interesting functions. One is e.g. middle click on a blank region of a file explorer window, a range of categorised recent items appears including recent folders. Click the one you want.

    Here you see the extra buttons along the top (which appear on any relevant dialogue - including universal apps- and a Listary popup.
    Click image for larger version. 

Name:	Untitled.png 
Views:	2 
Size:	77.8 KB 
ID:	175817

    The really useful thing is these are almost universal- e.g. apply equally to an open or save as dialogue, giving a consistent way of working.

    And sorry, that does mean some part of these programs are running - under 10Mb RAM each, 0 CPU.

    Have you considered making use of the jump list? That should meet your needs..
    Click image for larger version. 

Name:	Untitled.png 
Views:	35 
Size:	30.8 KB 
ID:	175852
    Last edited by dalchina; 06 Feb 2018 at 08:40.
      My ComputersSystem Spec

  3. Callender's Avatar
    Posts : 902
    Windows 10 Home 1809 32-bit
       06 Feb 2018 #3

    I would point out that you can get a Chrome style tabs file explorer:

    See screenshot with multiple tabs and reopen last tab shortcut reopens multiple closed tabs in turn.
    Click image for larger version. 

Name:	Clover.jpg 
Views:	1 
Size:	60.6 KB 
ID:	175921

    It also allow you to bookmark any tab. If you want to bookmark a file you need to first bookmark a folder then edit the bookmark.

    Click image for larger version. 

Name:	Clover 2.jpg 
Views:	30 
Size:	53.1 KB 
ID:	175922

    If you just wanted to test the portable version it's here:


    Full version is here:

    Clover Brings Chrome-Style Tabs to Windows Explorer. | 易捷科技 EJIE Technology
    Last edited by Callender; 06 Feb 2018 at 18:28. Reason: add image
      My ComputerSystem Spec

  4. pepanee's Avatar
    Posts : 1,138
    Windows 10 Professional
    Thread Starter
       06 Feb 2018 #4

    Thanks for the replies.

    Hmm, I see. I don't really want to get 3rd party programs just for this one thing.
    I don't use Jump Lists. I have it disabled, because I use Classic Shell. But thanks for that suggestion.

    I remember getting Clover a while ago and trying it out. I don't like how all the File Explorer windows are all in one window. I prefer to use the Windows TaskBar instead because I have it set up to be most convenient for me.

    I'm wondering if anyone can figure out what the command is, that Windows uses, to remember the location of the last opened File Explorer window. I want to add that in the right click context menu.

    Let me show you an example:

    Click image for larger version. 

Name:	Locate This Picture.png 
Views:	25 
Size:	95.0 KB 
ID:	175923

    This is what is shown when I right click on the Desktop. I have Desktop images to play as a slideshow and change every 30 seconds from a folder full of pictures. As you can see, there's an entry right there that says "Locate This Picture"
    This is a link to a vbs file that opens the location of that Desktop image and highlights it in File Explorer.

    I want to add an entry just like that in my Right-Click menu.

    Can anyone figure out what command is used in those 3rd party apps that I can create and use with this example?

      My ComputerSystem Spec

  5.    07 Feb 2018 #5

    Given that the data you want is in a Jump List, then assuming you were prepared to enable that even if you never used it, this tutorial indicates where to find that data.

    Reset and Clear Recent Items and Frequent Places in Windows 10 Customization Tutorials

    It would then be up to you to try to interpret that and make use of it as you wish.

    Note that Xyplorer, by contrast, can easily be set- or maybe its default is- to reopen the folder displayed when it is closed.
      My ComputersSystem Spec


Related Threads
I don't have the options to play a folder or queue tracks in foobar2000 anymore in Windows Explorer context menu. I've already checked Shell Integration on foobar2000 Preferences, and "Folder context menus" box is already checked. Apparently, the...
Windows 10 File Explorer has a arrow at the bottom to scroll the menu, how can the menu be scrolled in the old "normal" fashion?
My first post here. I searched here but could not find an answer, maybe someone can shed some light on this. I am trying to help an elderly friend who has run into a problem that neither of us can solve. I consider myself pretty savvy on...
for the last few days, the explorer closes and reopen itself immediately. this happens both on my Home PC and Work PC. anybody experiencing this too? see screenshot: Explorer opening twice (when locating a file) (from reddit)
I just submitted this suggestion on Windows Uservoice: The idea: the right-click menu for folders in File Explorer has an option called 'Open in new window', which opens that folder in a new File Explorer window. Very useful for copying and...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Š Designer Media Ltd
All times are GMT -5. The time now is 18:43.
Find Us