>Yes, we were mostly looking for something such as ADIR().
API:
http://www.news2news.com/vfp/?group=71&function=195 seems to have relevant information, but parsing the result should be about as bad as parsing the text file.
WSH: I think the reference at
http://msdn.microsoft.com/library/en-us/script56/html/wsobjwshenvironment.asp might help. However, I don't have experience translating this sort of code to VFP.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)