In each parameter the string may include a path. If the path is omitted, Magic xpa assumes the current directory.
If the rename cannot be performed (e.g., the target file is on a different drive), the file will be copied to the target drive under the new name.
This is a client-side function that is only available for Rich Client tasks. To use the server-side version of this function in Rich Client tasks, see FileRename.