How to save file structure to text file?

前端 未结 4 1845
我寻月下人不归
我寻月下人不归 2021-01-15 08:46

I have a folder of media files that are about 1TB big. I want to save the file names and directory structure to a text file for backup and reference. I want to attach a batc

4条回答
  •  北海茫月
    2021-01-15 09:24

    You can use the built in tree.com utility:

    tree c:\folder /F

    There's also a PowerShell function, Show-Tree, in PSCX 2.0:

    http://rkeithhill.wordpress.com/2010/05/10/pscx-2-0-show-tree/

提交回复
热议问题