Found the problem - it was jumping to an error handling routine before the verification that the share exists had had time to complete, put in a small delay loop and it works fine. Thought there had to be summat wrong somewhere, but this is the first time I've got to use DFS in anger, having...