VMware stores virtual machines as a package that includes the virtual machine settings file, filename.vmx, and the virtual disks.

When required, you must provide the complete path to the .vmx file. The following example is of a Fusion for Mac OS X, OS X, or macOS path.

Reviewers: djohn Fri Oct 20 13:37:32 PDT 2017

In the guide (here: https://www.vmware.com/support/developer/vix-api/vix112_vmrun_command.pdf#page=10), there is the following sentence: "The .vmtn file is similar for teams." Since teams don't seem to apply to Fusion, I've dropped all mention of teams.
Reviewers: djohn Fri Oct 20 13:35:29 PDT 2017

How should I change the example code below? Can I change "Windows XP Home" to "Windows 10 Home"?

~/Documents/Virtual Machines.localized/Windows XP Home.vmwarevm/Windows XP Home.vmx
Important:

For vmrun commands that require VMware Tools, install the latest VMware Tools package and, especially after operating system updates, keep VMware Tools up‐to‐date.