Thanks for the info. What do I need to do to put a UDF in a script. Do I just have to type DirList and it will recognize it or do I have to install the UDF somewhere? This is probably a stupid question, but I'm new to UDF's.

Thanks.