The function to rename virtual disk files is VixDiskLib_Rename(). It takes two arguments: the old and the new VMDK filenames.
vixError = VixDiskLib_Rename(oldGlobals.diskpath, newGlobals.diskpath);
The function to rename virtual disk files is VixDiskLib_Rename(). It takes two arguments: the old and the new VMDK filenames.
vixError = VixDiskLib_Rename(oldGlobals.diskpath, newGlobals.diskpath);