How it works: Windows 7 LibrariesWritten on July 12, 2011 by Matt Bach
What are libraries?
In a nutshell, Window 7 libraries allow a collection of multiple folders to be accessed from a central location. For example: if you have two folders of pictures in two separate locations, you can set both of them to be accessed through your "Pictures" library. Once they are both set, you can browse, rename, delete, or do anything else with all the files within both folders as if they were actually in one location. With previous operating systems, the only way to access both these folders at once would be to copy one folder into the other.
This functionality means that it no longer matters where data is located (it can even be on an entirely separate hard drive, on multiple different hard drives or even on a network location) as it can all be organized and accessed from one central location. The one thing you need to realize about libraries is that there is no actual folder for each library, so you cannot save directly to a library. Instead, you can set one folder in the library as the default save location. Anytime you tell the OS to save a file directly to a library, it in actuality will save to the default save location.
Libraries are excellent for data security. Many users prefer to have all their document/music/picture data located on a second partition or even an entirely different hard drive so that if there are any problems with their OS, their data is still intact. This does not protect from drive failure, but if the OS ever needs to be re-installed there are no additional steps that need to be taken to backup your data. Simply re-install the OS then re-add the folders to the appropriate libraries.
While it was possible with previous operating systems - and still is possible with Windows 7 - to physically change where My Documents, My Pictures, etc folders are located, that can cause OS stability issues if the redirected location ever goes missing (secondary hard drive gets disconnected, network storage inaccessible, etc). Windows would continue to try access the redirected location which can cause error messages, OS hangs and potentially even full system lockups. Libraries get around this issue by making it possible to have multiple directory locations (any of which can be set as the default save location) so that even if one directory is inaccessible the OS will simply switch over to another location - thus avoiding OS stability issues.
Add a folder to a library
Adding a location to a library is a relatively simple task. Just follow the steps below and you will have your library setup will all the folders you need.
Repeat steps 3 and 4 to add as many folders as you wish to any of the existing libraries. Once you have added the additional folder(s), your library is set up and ready for use! You can even sort the library by various types (folder, month, day, rating, etc) depending on the library type to aid in navigation.
|Sort by Folder||Sort by Month|
|Sort by Day||Sort by Rating|
Create a new library
For some users, the default libraries are either not adequate or not specific enough. Microsoft anticipated this need to create additional libraries and made it very easy to create new libraries. Follow the steps below to create a new library, then follow the previous section's instructions to add folders to your new library.
That's it! You now have your libraries configured and can access all your data regardless of its folder location. If you chose to add a folder to your library that is located on a secondary partition or hard drive and set it as the default save location, your data will also protected if your OS ever starts having problems. Changing the default save location does not work retroactively so be sure to transfer any data from the original location to the new default save location if you would like all your data to be together in one spot.