Change Win + E Shortcut to Open a Different Folder or App

Published by Nyau Wai Hoe - Updated on

The Win + E shortcut is a handy trick in Windows that opens File Explorer. But sometimes, you might want it to open a different folder or even start up another program. This guide will show you two ways to make that change in Windows 11 or 10: using a VBScript file with the Windows Registry, and using AutoHotkey.

Also see: How to Remap Keyboard Keys in Windows 11

How to change Win E Shortcut in Windows 11 or 10

Why change the Windows + E shortcut?

Usually, pressing Win + E brings up the File Explorer in Windows 11/10. It’s pretty useful for finding your files. But not everyone needs to use File Explorer all the time. You might find it handier to have this shortcut open a different folder or program.

Here’s why changing the Win+E shortcut could be a good idea:

  1. Get to your favorite folders faster: If there’s a folder you use a lot, setting Win+E to open it directly can save you time.
  2. Start up apps you use a lot: If there’s a program you use often, like a different file manager, a code editor, a project management tool, or even a game, having Win+E launch it can get you going faster.
  3. Make it your own: Changing the Win+E shortcut lets you set up your Windows to work the way you like.

With the methods we’ll talk about, you can set up Win+E to open any folder or app you choose.

Related issue: Windows 11 Keyboard Shortcuts Not Working (Fix)

How to change the Win + E shortcut in Windows 11/10

Let’s look at two different ways to change the Win + E shortcut in Windows 11 or 10, based on what you prefer and how comfy you are with tech stuff.

Handy hint: How to Make File Explorer Open to This PC on Windows 11

Method 1: Use VBScript and the Windows Registry

This way, you make a VBScript file and tweak the Windows Registry to change what the Win + E shortcut does. This also changes what happens when you click the File Explorer shortcut on the taskbar.

Step 1: Create a VBScript file

  1. Open Notepad.
  2. Copy and paste this code into Notepad:
    WScript.CreateObject("Wscript.Shell").Run "C:\FolderToOpen"

    Change Windows E shortcut keys to open a different folder

  3. Change C:\FolderToOpen to the folder or app you want Win+E to open. Save the file as openthis.vbs somewhere easy to find, like the “C:\” drive. Remember where you save it for the next steps.VBScript to change Win+E shortcut key

Step 2: Modify the Windows Registry

Changing the Windows Registry can be tricky. If you’re not sure about it, making a system restore point before you start is a good idea. This way, if something goes wrong, you can go back to how things were before.

  1. Press Win + R, type regedit, and hit Enter.Open Registry Editor
  2. Go to this part of the Registry:
    HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID\{52205fd8-5dfb-447d-801a-d0b52f2e83e1}\shell\opennewwindow\command
  3. If that key doesn’t exist, you have to make it and its subkeys yourself. To do so, right-click on the CLSID key, select New > Key, and name it {52205fd8-5dfb-447d-801a-d0b52f2e83e1}.
    Create new registry key
  4. Then, create the shell, opennewwindow, and command subkeys using the same way.Change Win E shortcut registry keys
  5. Then, set the “Value data” of the command key to:
    wscript.exe C:\openthis.vbs

    Replace the path with the actual path where you saved openthis.vbs. wscript.exe Windows 11

  6. Make a new string value named “DelegateExecute” and leave it blank.Create string value for DelegateExecute
  7. Close the Registry Editor.

Now, Win+E will open the folder or app you chose in the openthis.vbs file. This method makes sure you don’t end up with lots of explorer.exe instances open.

To get Win+E back to its original setting, just delete the {52205fd8-5dfb-447d-801a-d0b52f2e83e1} key you made in the registry.

Useful tip: Create Website or Application Shortcut on Desktop via Chrome

Method 2: Modify the Win + E shortcut with AutoHotkey

AutoHotkey lets you write scripts to automate tasks and change hotkeys in Windows. We’ll use it to make Win+E open the folder or app you want. It’s easy to use and very flexible.

Step 1: Install AutoHotkey

  1. Download AutoHotkey from its website and install it.

Step 2: Create an AutoHotkey script

  1. Open Notepad.
  2. Copy this code and paste it into Notepad:
    #e::Run "C:\Programs\game.exe"

    How to make Win E shortcut to open a different app

  3. Change C:\Programs\game.exe to the folder or app you want. Save it as an .ahk file, like win_e_shortcut.ahk.
  4. Run the script by double-clicking it. You’ll see a small AutoHotkey icon in the system tray, showing the script is working.Modify Win E shortcut Windows 11 or 10

Now, Win+E will open what you’ve set in the AutoHotkey script. To change it, just edit the .ahk file and reload the script.

Change or disable Windows E keyboard shortcut keys Windows 11

To make the script start with Windows, put the .ahk file in the Windows Startup folder (%AppData%\Microsoft\Windows\Start Menu\Programs\Startup).

Windows E open different folder path

With AutoHotkey, you can skip the complex steps like editing the Windows Registry, which can be risky if you’re not sure how to do it, and easily set up the Windows + E keyboard shortcut the way you want.

Relevant concern: Windows Key Button Not Working in Windows 11/10

Some other tips for customizing Win+E via AutoHotkey

You can also make Win+E open several folders or apps at once. Just add more lines to your script:

#e::
Run "shell:desktop"
Run "C:\MyFolder1"
Run "C:\Path\To\MyApp.exe"
return

And AutoHotkey can make hotkeys that change based on what program you’re using. Like, you could have Win+E open one folder in Word and another in Chrome. Use the #IfWinActive directive:

#IfWinActive ahk_exe WINWORD.EXE
#e::Run "C:\Documents\WordFiles"
#IfWinActive ahk_exe chrome.exe
#e::Run "C:\Documents\WebProjects"
#IfWinActive

This way, pressing Win+E opens the WordFiles folder in Word, and the WebProjects folder in Chrome. Otherwise, it does its normal thing.

Just one more thing

If you’ve edited the registry to change the behavior of the Win + E shortcut key, note that sometimes updating Windows or reinstalling it would reset the settings back to its default. You will have to repeat the steps again when that happens. Also, back up your AHK scripts if you’re using that method, just in case if those updates remove or refresh the startup files.

Categories: Windows 10Windows 11

Nyau Wai Hoe
Nyau Wai Hoe is the Founder and Chief Editor of WindowsDigitals.com. With a degree in software engineering and over 12 years of experience in the tech support industry, Nyau has established himself as an expert in the field, with a primary focus on the Microsoft Windows operating system. As a tech enthusiast, he loves exploring new technologies and leveraging them to solve real-life problems.

Share via
Copy link