Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a MOSS site where there is many folders and subfolders. I would like to output this folder hierarchy e.g. into a text file. How is that possible? Windows command line "tree" command does not work with UNC paths? Here is a desired example output from my local computer:

│   ├───revprops
│   │   └───0
│   ├───revs
│   │   └───0
│   ├───transactions
│   └───txn-protorevs
share|improve this question
up vote 1 down vote accepted

tree \\server\sitecollection\site works fine for me (Windows XP)

share|improve this answer

Alternatively, DO NOT USE FOLDERS/SUBFOLDERS in a SharePoint doc lib. Yes, it works. No, it is NOT the preferred way to do things. Metadata (custom columns) is by far a better way to manage your docs and what they are. Category/SubCategory = Folder/SubFolder. Makes finding/sorting/filtering your docs much easier and faster. And you can trivially export that info out as a CSV/Excel/Text.

Try it.

share|improve this answer
I think the question is about the underlying folder structure of the install, not folders within libraries. – e100 Nov 13 '10 at 13:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.