>>Good point,
>>It must be:
>>
>>IF NOT LEFT(laFiles[lnFor,1],1) == [.]
>>
>>No need to TRIM.
>
>I was being lazy and didn't check adir for trim, you are correct they are already trimmed.
>
>>And I use LEFT(,1_ because I don't want to check for both - [.] and [..] :-)
>
>Sounds fine to me. I use the other method because it is possible to create a file name that starts with ".", windows explorer won't let you, but modi comm will.
>
>I wouldn't consider starting a file with "." a good practice, but you never know what you will run into.
Agree, but we talk about Tracy here, and I am pretty sure she didn't starts her files with point :-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.