NanoTech-kw · Tech Guide Library

TREE CMD (Directory Tree)

Windows · CMD

Display the folder structure of a drive or path as a tree. Syntax: tree [path] [/f]

Step-by-step

  1. Open Command Prompt (press Win+R, type cmd, and press Enter)
  2. Syntax: tree [path] [/f]
  3. Brief: Display the folder structure of a drive or path as a tree.
  4. Example: tree C:\Docs /f
  5. Tip: /f includes filenames, not just folders.

Reference: learn.microsoft.com

Open in the NanoTech-kw library →