How do i get a list of folders and sub folders without the files?

前端 未结 6 1352
[愿得一人]
[愿得一人] 2020-12-04 07:26

I am trying to print a list of the folders and sub folders of a directory to a file.

When I run dir

6条回答
  •  渐次进展
    2020-12-04 08:07

    I am using this from PowerShell:

    dir -directory -name -recurse > list_my_folders.txt
    

提交回复
热议问题