11

I want to have an icon in Windows 8.1 Taskbar that opens Windows Explorer in a specific folder and does not create a second icon when I click the first.

I tried several approaches to do this:

  1. Pin Windows Explorer to Taskbar and Shift+Right Click > Properties.

    Windows Explorer properties

    As you can see in the image the Target location, Target, and Start in fields are non-editable. So I cannot specify folder where to start.

  2. I tried to go C:\Users\myuser\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar , Right-Click > Properties and those fields are also non-editable.

  3. Moved that lnk file to another folder and the same situation continues to happen.

  4. I went to the folder above the one I wanted to create the link. Then I selected the folder I wanted for the link, Right-Click > Send to > Desktop (create Shortcut). Finally, I closed all Windows Explorer windows, and in the newly created shortcut at the Desktop, I did: Right-click > Pin to Start. I went to the Start Screen and Right-click > Pin to taskbar.

After that, I see in the taskbar an icon that is not the one of Windows Explorer, but the Folder icon. If I Click on that icon, I will see the folder I want, but I noticed in the taskbar there was an added icon for Windows Explorer, which only serves to inconveniently occupy space.

If I recall correctly, I could do this easily in Windows Vista and Windows 7.

techraf
  • 4,952
sergiol
  • 519

7 Answers7

10

This should work in Windows 8.1/10/11:

  1. Pin File Explorer to the taskbar.
  2. Create a shortcut of File Explorer: go to C:\Windows, right click on explorer.exe and choose Send to > Desktop (create shortcut).
  3. On the desktop, right click on the shortcut, choose Properties and add /n, YourPath to the Target field. For example, it should read something like C:\Windows\explorer.exe /n, D:\MyFiles. Apply and close.
  4. Cut and paste your shortcut from the desktop to the folder C:\Users\YourUsername\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar.
  5. Delete the existing File Explorer shortcut in this folder.
  6. Rename your shortcut to "File Explorer" (even if your OS is in a different language; thanks to the user in the comments).
  7. Close all copies of File Explorer. Click on File Explorer in the taskbar. It opens to your chosen path and does not cause another icon to appear in the taskbar.
Anderson
  • 374
2

If it's space you want to conserve can you not just drag from your explorer window to the Task Bar to pin the location?

Add Folder location to Pinned section of Explorer Context Menu

Drag location to Explorer on the Task Bar (will show Pin to File Explorer) release to add the location into your Pinned locations that appear when you right click on the Task Bar Explorer icon.

  1. Click and drag from icon in the address bar Click and drag from icon in address bar

  2. Drag to the Explorer icon on the Task Bar
    Drag location to task bar

  3. Release to Pin to context menu of the Explorer Task Bar icon.
    Pinned location

2

You can hide "libraries". This would make the default "This PC".

  1. In File Explorer, select the View tab and click the Options button.
  2. In the General tab, under Navigation Pane, uncheck "View Libraries"
  3. Click OK, then restart File Explorer.

As stated by @cathoo

fantom
  • 421
1

I did not yet find a way to get the windows 8 (not 8.1) behaviour back. In plain windows 8, you could change the start-in directory (what you're refering to) to anything you'd like. My current workaround is not perfect, if anyone has further suggestions, i'd be thankful.

Batch+Shortcut-Approach

Create a batch file somewhere on the system, for example at

C:\Users\user\explorer-starter.bat with the contents

explorer C:\Users\user\any-path-you-want

You can't pin a batch file, so we need a little two-step-trick:

  1. Create a Shortcut to this batch file, for example by Alt-Dragging it somewhere. But you can't pin this shortcut, either

  2. Edit the properties of the freshly created shortcut. Make the following change to target:

    OLD
    C:\Users\user\explorer-starter.bat
    
    NEW
    cmd.exe /C C:\Users\user\explorer-starter.bat
    

    NOW we get to pin that shortcut. Thank you very much.

    originally found here

After pinning that shortcut, you can delete it, but don't delete the .bat file. You can also change the icon of the newly pinned shortcut.

Disadvantages of the current approach:

  • the shortcut is not connected to active explorer instances. i.e. it will always create a new explorer instance, even if one is already running.
  • a cmd.exe window will be visible for a very short time. This could be avoided by using a vbs or other scriptfile, but was not important to me.
amenthes
  • 807
0

I found this works pretty well for Windows 8.1:

  1. Open File Explorer
  2. Right-click any folder >> Send To > Desktop (Create Shortcut)
  3. Right-click the new shortcut on the Desktop >> Properties
    • The Target field should read: C:\path\to\some\folder
  4. Change the Target field to: explorer "C:\path\to\desired\folder" (quotes included)
  5. Unpnin the current File Explorer taskbar shortcut
  6. Drag the new shortcut to Pin it to the taskbar
  7. Done!
jiminikiz
  • 101
0
  1. Go to:

    C:\Users\ your user name \AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar

  2. Right click "explorer" -> Properties.

  3. Target: C:\Windows\explorer.exe /e, "path to your folder"
  4. Click "OK"

Screenshot

Ayan
  • 3,029
-1

I found a way.
First you pin folder you want to Start Menu, then go to Start Menu, right click on it and select pin to taskbar. Folder is now in taskbar. Remove shortcut from Start Menu and thats it!

Davidenko
  • 1,336
Oggy
  • 1