>Thanks Tore,
>
>What if FILE() only had the path to that directory? ADIR() would still be faster than FILE()? because I could save the path, set the path just to that directory before running the command and then set it back to the saved path after the command.
I think it would be more coding. Can you just try both scenarious and compare the speed?
If it's not broken, fix it until it is.
My Blog