Problem
I have some filepaths exceeding length=255 that, evidently, cannot be handled (and appear to be disrupting entire operations) during file sync operations on my Windows 7 machine. The exception encountered is PathTooLongException
Desired Solution:
I'd like to create a batch file that identifies filepaths that exceed 255, and outputs them to a .txt file (for diagnostic review)
UPDATE The accepted solution below works perfectly.
this is my first post here; please be kind
Do you want just paths (directory paths over 255 chars) or combo filenamr and folder path
Just folders:
Just files:
Folders and files