How do I list folders and files using the PowerShell
tree command? Is it possible to color format the output for distinct files and folders?
TREE Drive:\path /F
If command prompt or power shell are not recognizing 'tree', then:
Go to environment variables and change both the user variables and system variables "Path" to C:\Windows\System32 (Mine is C:\Windows\System32 ,Find yours using %systemroot%\System32)
Then open new power shell and give the above command. EX: enter image description here