I didn't get that to work, XD worked on foldernames for me but not paths. But I found a workaround. Before your command I coded so it echoes paths into a txt, then after the search I use xcopy with the txt as an exclude. So it don't make a copy of the file from the paths in the txt, if there is any....