Docs state:
However, the following code shows that it doesn't work. In the below test I have a collection coll://Tagged which contains "C:\Temp\New Text Document.txt", and "C:\Temp\Sub\New Text Document.txt" (same filenames but different folders).
Option Explicit
Function OnClick(ByRef clickData)
Dim v
Set v = DOpus.FSUtil.ReadDir("coll://Tagged")
While not v.Complete
DOpus.Output v.Next.realpath
Wend
End Function
Shows:
coll://Tagged/New Text Document.txt
coll://Tagged/New Text Document.txt