>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.
>
>TIA
Rixon,
While I'd recommend (as others have) the Scripting.FileSystemObject, alternatively you could use my "Windows Filenames" which is available for download here at the UT (Win32 and Other APIs). It returns much of the same information, but does not require the WSH. While I would go with the WSH, if it were not available or could be made available, this is an alternative.
George
Ubi caritas et amor, deus ibi est