Print a Directory Tree in Windows

Share This Post

At times you are looking for a file and are unable to trace it on your computer. This may be just because you don’t remember, which folder you placed it in and with what name. Or maybe you wish to reorg your folder structure as your annual clean-up process. In either case, if you are looking for a Visual form of your computers’ Directory Tree (along with the Files in them), then follow these steps.

  • Go to Windows Command Prompt by either pressing <WIN LOGO> + R (or through the Win menu as you see below)
  • Go to the Root Folder from where onward you want the Files’ list and Folder Structure
  • Type command “tree> [filename.txt you want the output list in] /a /f”
    /a is for ASCII format output
    /f is for listing files, else only folders are listed

More To Explore

Beach-side-sit-out-001
Design

Install and Customize a Theme in WordPress

Installing and customizing a WordPress theme is one of the most empowering parts of creating your website. With the right theme, you can control the look and feel of your site while focusing on what matters most, your content and audience.

Read More »