in reply to Re: store a warning in a variable
in thread store a warning in a variable

First of all: Thanks to all replies. It helped me very much!

Usually i would agree with Peter to check first, if the folder exists. In my case the folder is a mounted share folder from a different server. It should be mounted all the time. I try to handle the exception if this mount doesn't work.
- normal case: files to copy found or no files found
- exception: directory NOT found

cheers Michael