Archive

Posts Tagged ‘DOS Commands’

Print Directory Tree

August 16th, 2011 No comments


Here is a simple DOS command that will save a directory tree to a text file.

First SHIFT+Right Click the folder you want to have the directory tree of. In the menu that pops up click “Open command window here” then type:

tree /a /f > print.txt

This will save a file in that folder by the name of print.txt that shows you the directory tree (see image)

Categories: Random Tags: