Libraries: How to add or remove a folder
You can include folders from different locations in a library to view and work with these folders from a single place. For example, if you keep some photos on an external hard drive or a shared folder on your network, you can include that folder in your Pictures library so that you can get all your pictures from your Pictures library.
File Explorer, showing the Pictures library with three added folders
To learn more about what types of folders you can include in a library, see Libraries: Frequently asked questions.
For more info about the public folders in libraries, also see Libraries: Frequently asked questions.
Show all-
If the folder is on an external hard drive, make sure the drive is connected to your PC and that you can open it.
-
If you're viewing the New Library page in File Explorer, tap or click Include a folder, select the folder, and then tap or click Include folder. You're done. If you don't have the New Library page open, continue following these steps.
-
Tap or click to open File Explorer.
-
Expand the location to find the folder you want to add, and then select it. (For example, if you want to add a folder from a network, expand the network location and select the folder.)
-
Tap or click the Home tab, tap or click Easy access, choose Include in library, and then select the library to which you want to add the folder.
Including a folder in a library
Notes
-
If you don't see the Include in library option for a network folder, it means the folder isn't indexed. Follow the steps in the next section to add the folder to a library.
-
Folders on network-attached storage (NAS) devices can't be included in libraries.
If your PC is running Windows 8 Pro or Windows 8 Enterprise, the easiest way to do this is to make the folder available offline, and then add the offline folder to a library by following the steps earlier in this topic. You're done.
If you don't want to make the folder available offline because you don't want to keep the folder contents on your PC, go to the PC where the network folder is located, and make sure the folder is in an indexed location. If it isn't, add the folder to the list of indexed locations or move the folder to an indexed location.
If neither of these options will work for you, follow these steps to add the folder to a library. Note that doing this will make searching, sorting, and filtering in the whole library slow. For best results, we recommend creating a new library for the network folder alone. To learn how to create a new library, see Libraries: Frequently asked questions
-
Tap or click to open Computer.
-
Create a folder on your drive for your network folders, for example c:\share.
-
Create another folder within that folder, for example c:\share\music.
-
Select the subfolder you just created, tap or click the Home tab, tap or click Easy access, choose Include in library, and then select the library to which you want to add the folder.
-
Delete the folder.
-
Swipe in from the right edge of the screen, and then tap Search.
(If you're using a mouse, point to the upper-right corner of the screen, move the mouse pointer down, and then click Search.).
-
Enter cmd in the search box, and then tap or click Apps.
-
Press and hold or right-click Command Prompt in the search results, and then tap or click Run as administrator.
-
Enter mklink /d, and then enter the path of the folder you just deleted and the path of the network folder. For example, mklink /d c:\share\music \\server\music. This creates what is called a symbolic link.
If you don't need a folder in a library anymore, you can remove it from the library. When you remove a folder from a library, the folder and everything in it is still kept in its original location.
-
Tap or click to open File Explorer.
-
Select the library where you want to remove a folder.
-
Tap or click the Library Tools tab, and then tap or click Manage library.
-
In the dialog box that appears, select the folder you want to remove, tap or click Remove, and then tap or click OK.
Removing a folder from the Pictures library