title: How do I find files with a path length greater than 260 characters in Windows?
body: <p>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 trying to copy has too long a path.  I can easily reduce the path length, but unfortunately I can't work out which files are violating the path length restriction.  The files that are copied are printed to the standard output (which I'm redirecting to a log file), but the error message is printed to the terminal, so I can't even work out approximately which directory the error is being given for.</p>