I've just tried with Windows XP and it does what was expected:
a table is returned in case of an existing directory and nil followed by
an error message in case there is no directory. I have no idea why it
is not behaving like this in your case :-(
Tomas
I am also using WinXP. For me, lfs.attributes(somedir) is returning
nil if somedir has either a '/' or a '\\' on the end.
my lfs.dll (in C:\Program Files\Kepler\lib\lfs.dll) does not have any
version info attached to it, but it was created on 7/18/2005.