>I am having a real frustrating time using ADir() and File(). Both of them take a file name for a parameter, but both of them fail when passed a Long Filename. Well, they don't fail all the time, like in my test code, but they do fail in my production code. I'm sure the difference is some arcane "SET" command or environment setting, but I don't need this kind of help going insane!
>
>Does anybody know what environment settings would make adir() or file() fail when passed a long filename?
>
>Please, help me save my sanity.
>
>Thanks,
>Paul James
May be you should put extra double quotes? Can you show the piece of code that fails?
If it's not broken, fix it until it is.
My Blog