Set a “default” folder for Windows Explorer pinned taskbar icon in Windows 7?

Using Windows 7.

I have a Windows Explorer icon pinned to my taskbar.

When no Explorer window is open, clicking it takes me to “Libraries”, a folder that I never use. Is there a way to set a default folder to show here?

I already followed the steps in the vaguely-related question “Is there a way to set up a default folder for Windows Explorer?”, but it had no effect (indeed a comment there suggested it no longer works in Windows 7).


Solution 1:

With all Windows Explorer windows closed, hold down Shift and right-click the Windows Explorer icon that is pinned to the Taskbar. Select Properties from the menu.

On the Shortcut tab, the Target: field is probably:

%windir%\explorer.exe

Add a space and the path to the folder you want to be your default. I changed my target to

%windir%\explorer.exe "C:\Users\william\"

Quotation marks around the folder path are only necessary if the path contains a space.

Solution 2:

From this article (Trick to Open Computer or Documents as Default Instead of Libraries Folder with Windows Explorer on Windows 7):

For user who doesn’t actually use Libraries, or prefer Windows Explorer to open up My Documents, Documents, or even Computer (the highest level view that shows all drives available on the computer), this trick will set Windows Explorer to open and show the prefer folder by default.

  1. In Windows 7 Start Menu, right click on the Windows Explorer shortcut (typically store inside All Programs -> Accessories) and then select Properties.

    On Windows 7 Taskbar, hold down Shift key, and then right click on the Windows Explorer icon, and then select Properties. If you already have one or more Windows Explorer windows open, right click on the Windows Explorer icon, and then right click on the Windows Explorer link again to click on Properties, as illustrated below.

    enter image description here

  2. In the Target text box under Shortcut tab, change the value to one of the following to open either Documents or Computer by default.

    To Make Documents as Default Folder to Open by Windows Explorer upon Launching

    %SystemRoot%\explorer.exe /n,::{450D8FBA-AD25-11D0-98A8-0800361B1103}

    To Make Computer as Default Folder to Open by Windows Explorer upon Launching

    %SystemRoot%\explorer.exe /e,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}

    enter image description here

  3. Click OK when done. Now, Windows 7 Explorer will open Documents or Computer directly, skipping and bypassing Libraries, depends on what you set or configure on initial run.

Solution 3:

All of these solutions result in an extra instance of the explorer.exe process each time the modified shortcut is used, and they accumulate until you logoff.

A simpler and better solution is simply to replace all of the "Windows Explorer.lnk" shortcuts throughout the system with an ordinary folder shortcut named "Windows Explorer.lnk" that points to whatever folder you've chosen.

Here's a little procedure that does this for Windows 7 and 8, where the replacement shortcut points to the %USERPROFILE% folder. The standard admonition should you try this is to first make a restore point as a precaution.

http://reliancepc.com/menu/tips/Downloads/ReplaceDefaultExplorerShortcuts.zip

Once unzipped, you can use 7zip to look inside the resulting .exe (which is a 7z SFX) and see what it does and that nothing nefarious is inside.

Solution 4:

Combed through everyone's solutions here, and followed the link provided by Mehper to find the solution without creating extra instances of Windows Explorer.

  1. Pin Windows Explorer to the taskbar(library) [if it's not already pinned].

  2. Create a “My Computer” shortcut on to the desktop (drag Computer from start menu to desktop).

  3. Change the name of the “Computer” shortcut to “Windows Explorer”.

  4. (If desired) Change the icon by right clicking > properties > shortcut tab > change icon> select the normal Windows Explorer icon.

  5. Navigate to C:Users\%User%\AppData\Roaming\Microsoft\InternetExplorer\Quick Launch\User Pinned\TaskBar

  6. Copy the new “Windows Explorer” shortcut that you just created on the desktop into the folder.