%SYSTEMROOT%\explorer.exe /e,C:\full folder path
Select the shortcut creation wizard Next Possibility.
Entry browse file r as the title of the new shortcut.
Click on the wizard Finished Button to add a File Explorer shortcut to the desktop.
Right-click the new File Explorer desktop shortcut to select it View more properties . Choose Pin it to the taskbar Option in the classic Windows 11 right-click menu.
To remove the Explorer desktop shortcut you added, right-click the icon and select Trash (Extinguish ) button.
You need to change the item location given above to include an actual directory path that you want Explorer to open. Remove full folder path from that location and replace it with a real directory. For example, to set Explorer to open Program Files (x86), you would enter the following item location:
%SYSTEMROOT%\explorer.exe /e,C:\Program Files (x86)
Clicking the new File Explorer taskbar shortcut will open that app in the destination folder specified in the item location field. You can keep or remove the original Quick Access Explorer taskbar button. If you’d rather keep it, give the new shortcut a different title or icon so you don’t confuse them.
You can remove the original File Explorer button by right-clicking on it and selecting Detach from the taskbar . However, consider copying this shortcut first, just in case you want to restore it later. You can copy the original shortcut to this directory:
C:\Users\< user folder> \AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar
Select the old File Explorer shortcut file in that directory and press ctrl + C . Open another folder you want to copy it to and press the ctrl + v hotkey. Then you can move the backup copy of the shortcut back to the TaskBar folder to restore it.
How to change File Explorer’s default folder by editing the registry
In this method, you change the default folder for the original File Explorer button already on the taskbar. It is a more complicated method that involves setting up VBS and registry script files. First, set up a VBS script that specifies a folder that Explorer can open like this:
Press window + button S and enter the keyword notepad into the search field that the hotkey opens.
Right click on Notepad search result so you can select a Execute as administrator option for this app.
Select this VBS script text and press ctrl + C :
WScript.CreateObject(" Wscript.Shell" ).Run " C:\MyFolder"
Press the ctrl + v Keyboard keys simultaneously to paste the copied script.
Extinguish my folder in this script and replace it with a real folder path that explorer can open.
Choose file menu and click the Save as Possibility.
Select the All files option on the Save as Menu.
Entry launch.vbs within the filename Crate.
Select this option to save the VBS script in your user folder.
Then click Save on computer and exit the Notepad app.
Next you need to set up a registration script. This script will add new {52205fd8-5dfb-447d-801a-d0b52f2e83e1}\shell\opennewwindow\command Key to Registration. Applying the script will set Explorer to open in the folder specified in your VBS file. Here is how you can set up this registration script:
Open Notepad with administrator rights as described in steps one and two above.
Copy the contents of this registration script to the clipboard with the file ctrl + C Key combination:
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID\{52205fd8-5dfb-447d-801a-d0b52f2e83e1}\Shell\opennewwindow\command] " DelegateExecute" =" " @=" wscript.exe \" c:\\Users\\user folder\\launch.vbs\" "
Next, select To edit > paste in notepad.
Substitute user folder in this script with the title of your actual user folder where you saved the VBS script.
Press the ctrl + change + S Keyboard shortcut to invoke a Save as Window.
Choose All files for the guy.
Enter a file tile for the registration script that contains .reg At the end. For example, you could type File Explorer Script.reg be the name.
Select Desktop as the location for this script.
click Save on computer to add the registration script to the desktop.
Close the editor window.
Double-click the registration script on the desktop and click Yes apply.
Now click on the File Explorer taskbar button to see where it opens. It will open in the folder specified in your VBS script instead of quick access. Explorer also opens the same default folder when you press it window + button E hotkey.
You can restore Explorer’s original default folder for Quick Access by changing the {52205fd8-5dfb-447d-801a-d0b52f2e83e1} Key added to the script. Access Registry Editor using a method in our guide to opening Regedit. Then enter this key location in the Registry Editor address bar:
HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID\{52205fd8-5dfb-447d-801a-d0b52f2e83e1}\Shell\opennewwindow\command
Right click on the {52205fd8-5dfb-447d-801a-d0b52f2e83e1} In the left navigation bar, type and select Extinguish . A dialog box appears asking you to confirm deleting this key and its subkeys. Choose Yes Clear.
Set File Explorer to open to the folder of your choice
So now you can set a File Explorer taskbar shortcut to open at any folder using both of the above methods. The first method is faster and less complicated, but does not change the default save location Win + E Hotkey opens Explorer under. If you use this key combination frequently, use the second method to change the default Explorer hotkey folder.