DOS command tree.exe can generate a list of every folder and file that is in a particular directory. The following example shows how to create such a list for D:\MyNotes folder:
1. Open Command Prompt window, and go the directory D:\MyNotes.
2. Type the following command
tree d:\mynotes /F > treeview.txt
This command lists all the folders and files in the folder d:\mynotes, and save the output into a text file treeview.txt
3. Open the treeview.txt in any Text Editor:
© 2020 Digcode.com. All rights reserved.