I need a Powershell script to search a folder (d:\public\records) and output of a list of all of the files that have a combined path (directory path + filename) of over 255 characters.
I am using RichCopy to transfer 1TB of data from server to server. RichCopy crashes due to the file length limits. I must use RichCopy as it is the only tool that fulfills all of the requirements for this project. The directory I am checking contains a lot of data in tens of thousands of folders so workarounds like mapping a network drive to shorten the path will not work, there are just too many and I am not even sure where they are.