>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.
Thanks Mike, curious approach :)