Sometimes there's a little trick that Fox has that saves having to write WinAPI or RUN calls. This is one. I wish MS would put a link in Help under 'Move' since I use it far more to move files than to simply rename them.
Glad it worked,
Barbara
>Hi Barbara !
>
>Great thanks. It works.
>I am fox programmer since several years, and I thought that I now fp and vfp well. Thanks for the lesson.
>
>>Jozef,
>>Check the "RENAME" command in VFP help. It states that if you include path as well as file name for starting and ending file name the file will be moved to the new folder.
>>
>>Works beautifully, all inside VFP.
>>
>>HTH
>>Barbara
>>