Dir of Windows7 Library


I understand there are windows libraries and you can get to them from the Windows Explorer. But is it possible and how to have like a DIR command from the command prompt show the contents of a library?

like from a command prompt we know we can like:

Dir C:\


Dir C:\Test\*.exe

How can one do a directory of a library?

Any help would be greatly appreciated.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Yes, it's possible.

dir C:\users\<username>\Music

where <username> is the User's name.

You can replace Music with Documents or Pictures or Videos
David Johnson, CD, MVPOwnerCommented:
that isn't the library item but the users item.. the library could contain


Open in new window

Libraries aggregate items from local and remote storage locations into a single view in Windows Explorer.

So the answer is not possible from a command prompt

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
davismAuthor Commented:
I know I created a library with SLUtil and it functions like a library, however, it does not function the same way as the ex: C:\users\[name]\[created library name].

So, there is no capability of doing that? Takes away from the usefulness then. I can only guess that is why it's not a heavily used in windows.
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

David Johnson, CD, MVPOwnerCommented:
libraries are a user item and tied to explorer and are very useful just not a game changer item.
davismAuthor Commented:
I actually have very, very rarely seem them used or used in the right context/manner even from a UI prospective.

There could have been a lot better use outside of GUI especially being that not everything is GUI especially around a server front.
davismAuthor Commented:
Thanks for the response. Greatly appreciated. Sucks it cannot be done because that would be stellar. Hopefully it will be realized though.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Legacy OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.