260 Character Limit, Get-ChildItem

前端 未结 2 1251
小鲜肉
小鲜肉 2021-01-24 05:54

I understand there is a 260 character limit for win32, but I am curious as to why my code is half working. See below.

$Age_of_Files = -30
$Path = \'\\\\         


        
2条回答
  •  深忆病人
    2021-01-24 06:02

    You can turn on long paths in Windows 10. There's a gpo. https://www.howtogeek.com/266621/how-to-make-windows-10-accept-file-paths-over-260-characters/

提交回复
热议问题