I am trying to print a list of the folders and sub folders of a directory to a file.
When I run dir
dir
I am using this from PowerShell:
dir -directory -name -recurse > list_my_folders.txt