I use the function of: Directory.GetDirectories(Path.ToString) to get the directory of my files, however, if the directory contains a " & " it does not record this, thus leading to my script breaking.
Is there a way to assign the directory to an string where special characters are included?
Correction: I use Get Text inside the the folder to get the text from the bar in the top. When it copies this, it cannot include the special character of " & ".
I’m standing here, and need the whole path of the files. If I should loop over the directory I would need
to have the directory, and it is dynamic and changes every time. This time it is 1072 Eva & Morten Elsig, next time it could be whole other.
I have a variable based on the initial 4 numbers, but the rest of the name is found automatically.