Get all files in folder including those with long (>256 characters) path + name

后端 未结 3 607
面向向阳花
面向向阳花 2021-01-15 08:36

I\'m trying to build a comma separated list of file names in a specific folder. These files tend to have long names (they\'re test case results and the name is very descript

3条回答
  •  感动是毒
    2021-01-15 09:16

    PowerShell v6.0.0-beta.3 and up now supports UNC paths by default; see my answer here for more information: https://stackoverflow.com/a/47046785/1599699

提交回复
热议问题