>Hi friends
>according to help file ADDBS does not duplicate if one does exist(ie. backslash).
>my following code returns 2 backslashes ! am i doing anything wrong here ?
>
>LOCAL lctmp
>m.lctmp = ALLTRIM(FILETOSTR('Network.txt')) && this has c:\windows\
>m.lctmp = ADDBS(m.lctmp)
>MESSAGEBOX("temp version " + lctmp ) && this displays c:\windows\\
Works correctly for me in VFP8. Are you sure you don't have \\ in the file?
If it's not broken, fix it until it is.
My Blog