weird... in the final version of the UDF i have that line like this.

use "$drive:" "$resource"

because of that very problem.

Bryce