Thanks Yuri,
That works like a charm. The Scripting stuff is entirely new and mysterious to me (I'm a newbie, converting over from FXP2.6), and so I see I have some learning to do. I have looked it up and see it is a Windows capability interfaced into VFP. It is not documented in the VFP manuals. If you have any recommendation for where I should find documentation info, I would be appreciative.
Thanks again,
BillvV
> You could use this:
> oFSO = CREATEOBJECT("Scripting.FileSystemObject")
> FOR EACH oitem IN oFSO.GetFolder("c:\").Files
> ? oItem.NAme
> endfor
>
> > Hello friends,
> >
> > Is there a way to retrieve file names (from directories) and to preserve their original case? Both the ADIR() and GETFILE() functions return the names in all uppercase. I know it can be done using LLF functions (copy directory to text file, read text file into an array), but I'm looking for a more convenient method. Is there one?
> >
> > TIA
> >
> > BillvV
> > Rochester, Michigan
COMPLETE THREAD
| | | | |  | | Thanks Posted by Bill von Valtier @ 4/23/2003 3:43:35 PM |
|
|
|
|
|