Why not something like
lcFile='yourfile.dbf'
lcToFolder='d:\mydir\mycopydir\'
copy file (lcFile) to (lcToFolder+lcFile)
if adir(temp,lcToFolder+lcFile)>0
eras (lcFile)
else
messagebox('copy failed')
endif
>Its good but too big.
>If it's possible, I look for few lines code for that specific task.
>
>Thanks
>
>
>>>Hi
>>>How can I move (cut and paste) .dbf file from one directory to other?
>>>
>>>The path (source and target) and file extention is permanent and each time with different file name.
>>>(File name length is 17 characters, for example RB052008040507PM.dbf).
>>>
>>>Big thanks
>>
>>See if Message#
1165588 can help