Dec 27

Here is a handy method to print a directory tree in Windows Explorer.

1.  Follow these instructions to open a CMD window while using Windows Explorer.

2.  Click on the CMD window’s upper-left icon to show the menu.  Click Edit > Paste to paste the following command in the CMD window:

dir /o:gn /s > %temp%\DirTree | notepad %temp%\DirTree

Paste in CMD window

The directory tree will open in Notepad, where you can easily print or save it to a file.

Article published on December 27, 2011




Leave a Reply