>I am using this commands
>
>
>Select New_bills
>lcStr = Filetostr(cFullpath)
>? lcStr
>Strtofile(lcStr, cNewpath, .F.)
>Strtofile(lcStr, "D\Allfiles", .F.)
>
>
>Both the above strtofile does not copy the file to the desired location ile cNewpath.
>
>What wrong I am doing.
>
>Regards
>Harsh
What do you have in cNewPath variable?
For the second, try
strtofile(m.lcStr, "d:\AllFiles\test.txt", .f.)
If it's not broken, fix it until it is.
My Blog