>>Try using rename() from the C++ runtime:
>>
>>Declare Integer rename in MSVCRT.dll As _rename String @oldname, String @newname
>>md c:\foo
>>lsOld = "c:\foo"
>>lsNew = "c:\newfoo"
>>_rename(@lsOld, @lsNew)
>>
>>Note that you have to alias the function name because VFP already has a RENAME command.
>
There's no value to it - the VC runtime rename is a thin wrapper on the KERNEL32 MoveFile() API call.