>> networkdesign>> is there a way to get the tree function in DOS to out put the directory tree.... I know>> obvious....but with DIR content with extensions included in out put in txt or doc format? I may be reading too much into this fairly brief description, but might you be looking for something that merges the detail info available from the DIR command with the indented tree structure of the TREE command? I tried to mock up something in the attached code text.
If so then there is no basic batch command that does this. It might be possible with a little scripting, but not sure if it is really worth the effort. There are third part tools that do things just like this, here's an example of one of these that is free and a command line tool.
http://gnuwin32.sourceforge.net/packages/tree.htm
- Are you only interested in seeing directory nodes in the output, or do you want to see the files contained in each directory as well?
- What information do you want to see for each file (or directory)
- Date modified
- Size in bytes
- Other ?
I think the concept of piping the output of a batch command to a text file has already been covered, so I won't repeat that.
Let us know what questions you have and if any of the info provided so far is close to what you want.
~bp