This script was able to count the number of characters in a path name and write any path length > 240 characters to a file.
What I need to know now is, how do I get the actual length (i.e. 250) to show up before or after the path?
I need the output to be as follows:
\\servername\share\folder1\folder2\longname1\another ridiculously long name\and even longer name that is going to take up too much space\here is my document.doc Length=250