the following line of code seems to be giving me errors on NT and 2000 computers. Any ideas if this function is supported on those operating systems?

If (GetAttr(DirPath & FileString) And vbDirectory) = vbDirectory Then docodehere