def deleteDirectoryInGuest(self, vmx, dir_path):
        sys.stdout.write("[%s] Delete directory %s.\n" % (vmx,dir_path))
        self._run_cmd(vmx, "DeleteDirectoryInGuest", [dir_path], [vmx.user,vmx.passwd])