>The oFile is an object. You can analyze its properties, oFIle.IsFolder, oFile.Name, oFile.Path, e.t.c.
There is also a problem if the folder contains an empty directory. The errors from Shell application are not trappable by VFP. I guess I need to start a new discussion about alternatives with my manager...
If it's not broken, fix it until it is.
My Blog