One thing you may have to do is find the folder name of the container holding the file. This is the last folder on the path BUT you don’t know how long the path is. One possibility is to use a trick with array indicies PS> $path = "c:scriptsutils… Read the full text.