Use PowerShell to generate a list of files and directories

前端 未结 5 504
予麋鹿
予麋鹿 2021-02-01 15:37

I\'m writing a PowerShell script to make several directories and copy a bunch of files together to \"compile\" some technical documentation. I\'d like to generate a manifest of

5条回答
  •  -上瘾入骨i
    2021-02-01 16:06

    In Windows, navigate to the directory of interest

    Shift+ right click mouse -> Open PowerShell window here

    Get-ChildItem | tree /f > tree.log
    

提交回复
热议问题