Is there a way of checking if a given folder exists on the device from a program on the Pc (i.e. something corresponding to rapi.DeviceFileExist() - perhaps a "rapi.DeviceDirectoryExist()"?)?
I have tried a workaround, files()=rapi.GetFiles("TheDirectory\*.*"). I had hoped that I would get an errormessage if TheDirectory does not exist, but all that happens is that the Arraylength of files() is 0
Indeed it does that solved the problem, thank you Erel.
(Perhaps it might be a good idea to include it in the help file at the next release? i.e. "Checks whether a specific file or directory exists on the device.")