Is there a way to set up a default folder for Windows Explorer?

18

8

I often use Win + E to pop up Windows Explorer, and then I usually have to navigate down into a few network folders to find my primary directory. Is there a way to set this folder as the default so that Windows Explorer always opens to this folder?

NoCatharsis

Posted 2009-11-13T17:11:59.437

Reputation: 2 797

Answers

14

Edit the following registry subkey:

HKEY_CLASSES_ROOT\Folder\shell\explore\ddeexec

If you change this subkey's default value to [ExploreFolder("yourNetworkDrive", yourNetworkDrive, %S)], you force Windows Explorer to start at the drive you specify.

Replace yourNetworkDrive with the drive you want. If the drive is mapped as S:, the string would be [ExploreFolder("S:\", S:\, %S)].

To present a single-pane Windows Explorer view, you can change ExploreFolder to ViewFolder.

Molly7244

Posted 2009-11-13T17:11:59.437

Reputation:

it doesn't work in windows 10 either – Björn Lindqvist – 2015-08-20T23:20:40.333

5this doesn't seem to work for Windows 7 – kenwarner – 2010-12-01T03:17:47.647

7

To change the default setting so that all top–level drives and folders are shown, follow these steps:

  1. Click Start, point to Programs, then Accessories, then right–click Windows Explorer, and click Properties.
  2. Under Target field, which reads %SystemRoot%\explorer.exe, add to make the line read %SystemRoot%\explorer.exe /n, /e, /select, C:\
  3. Click OK.

source

joe

Posted 2009-11-13T17:11:59.437

Reputation: 11 615

I clicked your answer as accepted, then realized I have no shortcut for Windows Explorer in my Accessories menu, so I'm sorry I had to take it away. Now, could you please direct me towards the location of the Windows Explorer shortcut that is activated when I hit the Win+E keys? Thanks a lot. – NoCatharsis – 2009-11-13T17:43:04.600

I guess you must happy with Molly answer :-) – joe – 2009-11-13T18:10:25.213

5

I actually use a utility called WinKey to do something similar to this, without rerouting Win+E. I'm sure AutoHotkey could do the same thing. In fact, having said that, I think I just made some work for myself. :)

In WinKey (or soon, in AutoHotkey) I mapped Win+W to open a Windows Explorer window rooted at my standard "workspace" (thus, +W). This way I retain the standard Win+E, which I also use extensively, and right beside it is the hotkey to open my workspace.

OK, work's done. Here's a simple AutoHotkey script I'm now using for Win+w to open my workspace:

#w:: ;; Win+w
{
 Run C:\WINDOWS\explorer.exe /n`, /root`, C:\workspace\
}
return

The command's commas are escaped with a backquote. Replace C:\workspace\ with whatever folder you want to view. Replace "/root" with "/select" if you want two-pane instead of single-pane.

Another example of autohotkey script here

JMD

Posted 2009-11-13T17:11:59.437

Reputation: 4 427

I believe an AHK script is the only solution for making Win+E launch Explorer at a specified folder in Vista+. – Karan – 2013-05-20T15:33:52.850

1

I used Windows Explorer settings:

Open any folder, click on view settings and in General window change "Open File Explorer to".

It contains only two settings in my case, but it got me rid of quick access.

Enter image description here

Deimantas

Posted 2009-11-13T17:11:59.437

Reputation: 11

2This does not work for Windows 7 (no "Open File Explorer to" option) Please add the Windows version(s) this answer is applicable to. – DavidPostill – 2016-04-22T10:21:45.330

What version of Windows is this for? Windows 10? – Peter Mortensen – 2016-12-17T18:48:25.740