Windows PowerShell – get a recursive list of directories

Like this:
dir -Directory -Recurse | % { $_.FullName } > list.txt

Leave a Reply

Your email address will not be published.