How do I find files with a path length greater than 260 characters in Windows?

后端 未结 8 1865
时光取名叫无心
时光取名叫无心 2020-12-04 06:11

I\'m using a xcopy in an XP windows script to recursively copy a directory. I keep getting an \'Insufficient Memory\' error, which I understand is because a file I\'m tryin

相关标签:
8条回答
  • 2020-12-04 06:55

    TLPD ("too long path directory") is the program that saved me. Very easy to use:

    https://sourceforge.net/projects/tlpd/

    0 讨论(0)
  • 2020-12-04 06:59

    do a dir /s /b > out.txt and then add a guide at position 260

    In powershell cmd /c dir /s /b |? {$_.length -gt 260}

    0 讨论(0)
提交回复
热议问题