– Windows CMD Command

Display the folder structure of a drive or path as a graphical tree.

Like the DIR command, the first two lines of output from Tree are the Volume Label and Serial Number, in Windows 10 the Serial number is prefixed with the Device ID.

The output can be redirected to a file with > c:\filename.txt

Examples Display a tree for the “C:\Program Files” folder:

Display a tree for the users home folder:

or from PowerShell:

You may also like...

1 Response

  1. Abe Gascot says:

    superb post

Leave a Reply

Your email address will not be published. Required fields are marked *