Schuliebug, is your intention to have each line of output in it's own array element? If you check the actual number of items in your array for a successful "dir" you'll have just one item. An unsuccessful "dir" will have two items, the results & the "file not found" message.

Anyway, I have a fix for it if that is your intention and will post a UDF soon.

[ 14 June 2002, 16:27: Message edited by: Chris S. ]