Search

Method moveFileInGuest(VcVirtualMachine vm, VcGuestAuthentication auth, String srcFilePath, String dstFilePath, boolean overwrite)

Renames a file in the guest.

Returns

void

Arguments

Name Type Description
vm VcVirtualMachine Virtual Machine to perform the operation on.
auth VcGuestAuthentication The guest authentication data. See <a href="VcGuestAuthentication.html">VcGuestAuthentication</a>.
srcFilePath String The complete path to the original file or symbolic link to be moved.
dstFilePath String The complete path to the where the file is renamed. It cannot be a path to an existing diectory.
overwrite boolean If set, the destination file is clobbered.