I have a script that contains an array of file names with the full UNC path. For the first file only, I need to get a partial path out of it. The paths will have all a similar format:
I can get the value either in the loop as the filenames are added to the array, or after the loop when I start writing to a new file window.
Any help you can provide would be greatly appreciated!
Thanks,
Dan
I need to get the UNC path up through the "Install" folder, if it exists, otherwise just up through the "CCN 9999" folder (the number part of the folder name will vary, but will always be a 4-digit number)....\CCN 6241\Install\Back_End...
I can get the value either in the loop as the filenames are added to the array, or after the loop when I start writing to a new file window.
Any help you can provide would be greatly appreciated!
Thanks,
Dan