My path is \\\\server\\folderName1\\another name\\something\\another folder\\
\\\\server\\folderName1\\another name\\something\\another folder\\
How do I extract each folder name into a string if I don\'t know how many
The quick answer is to use the .Split('\\') method.