Hi NIels,
I don't think it can be done from within the Scripting tool inside XPression because you would need some sort of external library to doe the file handling such as the File System Object, which is, as far as I know, not included in XPression.
Having said that there is ofcourse a solution using the API but also using the DataLinq it should be possible.
Best regards,
Kenneth
#XPression