List full paths to done.dat files instead, then your folder paths are the part of the string before "\done.dat". So if {LOOP(CurrentValueX)} contains
"C:\Folder\2000001\done.dat" then to get the folder use {PATH(GetDirectoryName|{LOOP(CurrentValueX)})} which will return ""C:\Folder\2000001".
That's the path you would want to pass to a file copying tool though instead of having windows do it. That is, unless the tool could gather the paths instead in the first place. It would still be faster I'm sure.
Edited by user
2020-08-21T18:45:20Z
|
Reason: Not specified