$filename = Dir("c:\temp")
While $filename <> "" And @ERROR = 0
? $filename
Dir()
Loop

If I run this in debug mode $filename comes up as "." and I see the actual file after dir() . I cant figure out how to get the file into $filename. I am basically trying to parse a directory that has filenames of computers which do not have extensions. I read the manual on dir and the example is not working for me. any help would be great.

[ 17 September 2001: Message edited by: j95661 ]

_________________________
WonderBoy Constantly learning everyday, how much I dont know :-)