Path and File Length

Print Friendly, PDF & Email

I ran into an issue at work where a user managed to create a document with 144 characters on a network drive. That of course was nested down in 7 other folders. Needless to say, they could not access it. Here is the script I wrote to find the length so I could rename it and still keep a bit of the old name for them to reference: