Bill,
There is a Tcl command which will allow you to determine if a file is a directory.
You could use the comand in the parse proc to determine which entries are directories and eliminate them from the list.
I am on vacation so unfortunately otherwise I would have looked up the command.
If you are interested but unable to locate the command let me know and I will see if I can locate it.
Jim Kosloskey
email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.