Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Bill von Valtier
  
 Rochester
 
 Bill von Valtier
 To: Yuri Rubinov
  Where is Yuri Rubinov?
 Philadelphia
 Pennsylvania - United States
 Yuri Rubinov
 Tags
Subject: Thanks
Thread ID: 22591 Message ID: 22668 # Views: 10 # Ratings: 0
Version: Visual FoxPro 6 Category: General VFP Topics
Date: Wednesday, April 23, 2003 3:43:35 PM         
   


Thanks much, Yuri.

BvV

> If you are working in VFP7/8, then you can see all properties and methods of the object oFSO = CREATEOBJECT("Scripting.FileSystemObject") as soon as you initiate it. Just type oFSO. to see the list of available options.
>
> Windows Script Host reference, tuturial and help you may find in the file WSH.CHM somewhere on your PC.
>
>
> > 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

Retrieve file names with case preserved ? Posted by Bill von Valtier @ 4/22/2003 6:21:34 PM
RE: Retrieve file names with case preserved ? Posted by Yuri Rubinov @ 4/22/2003 8:13:21 PM
RE: Retrieve file names with case preserved ? Posted by Bill von Valtier @ 4/22/2003 11:12:01 PM
RE: Retrieve file names with case preserved ? Posted by Yuri Rubinov @ 4/23/2003 2:38:35 PM
Thanks Posted by Bill von Valtier @ 4/23/2003 3:43:35 PM