>The filename returned from using the function ADIR() is in all caps. I want to save the filename returned to a VFP6 record exactly as it is capitalized in Windows Explorer. Is there a way to do this without using PROPER() since some of the words in the filename are not captialized.
>
The WSH's Scripting.FileSystemObject can do this; you instantiate it, do a GetFolder, and enumerate the files in the folder. It does not directly support wildcarding; you have to run through the Files or Folders collection yourself.