>>Brenda, in addition to what George says you can use
>>IF ".DBF" $ UPPER(mystring)
>>***
>>ENDIF
>
>Nick,
>
>You could have a folder name with .dbf in it. ie 'c:\some.dbf.folder\data.txt' would return .T.
>
>hth
Right, however it would be a very rare case of stupid user to name folders like that. :)
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison