directory folders structure show windows 10 command prompt

To view the directory folder structure in Windows 10 Command Prompt, you can use the "tree" command. This command displays a graphical representation of the folder structure. Here's how you can use it:

  1. Open the Command Prompt by pressing the Windows key + R, typing "cmd" and pressing Enter.
  2. Navigate to the directory for which you want to view the folder structure. You can use the "cd" command to change directories. For example, if you want to navigate to the "Documents" folder, you can type: cd Documents
  3. Once you are in the desired directory, type tree and press Enter.
  4. The Command Prompt will display the folder structure starting from the current directory, showing all the subdirectories and files within each directory.

That's it! The "tree" command allows you to visualize the folder structure in a hierarchical format in the Command Prompt.