How to pin any folder to the taskbar in Windows 10 and 11

Learn how to pin any folder to the taskbar in Windows 10 and 11.

How to pin a folder to the taskbar in Windows 10

Steps

1. Right-click on an empty space on your desktop, go to New, and then click on Shortcut.

Create a new shortcut on desktop in Windows 10

2. Enter the following text:

explorer.exe "full path to folder"

For example:

explorer.exe D:\Pictures\Screenshots
Enter the path for the folder shortcut

Note: if the name of a folder contains spaces, then you will need to enclose the whole path in quotes (""), like in the example below.

explorer.exe "D:\Pictures\My Screenshots"
Enter the path for a folder shortcut with spaces in the name

3. Click on the Next button.

4. Enter a name for the shortcut.

Enter a name for the folder shortcut

5. Click on the Finish button.

As you probably already noticed, the shortcut has the same icon as File Explorer (Windows Explorer), which may cause confusion and accidental clicks, especially if you also have File Explorer pinned to the taskbar.

So it's probably better that we'll change the icon for the shortcut.

6. To change the icon for the shortcut, right-click on the shortcut and then click on Properties.

Open folder shortcut properties

7. Click on the Change Icon button.

Change icon button

8. Select an icon.

9. Click on the OK button.

Change icon for folder shortcut

10. Click on the Apply button.

11. Click on the OK button.

So now that we've changed the icon, it's time to pin the folder shortcut to the taskbar.

12. To pin the folder shortcut to the taskbar, right-click on the shortcut and then click on Pin to taskbar. If you're using Windows 11, right-click on the shortcut > Show more options > Pin to taskbar.

How to pin any folder to the taskbar in Windows 10

The folder is now pinned to the taskbar.

You can now delete the newly created shortcut from your desktop, as it is not needed anymore.