VMware vSphere ESXi 8.0.0
VMware vSphere ESXi 7.0.0
VMware vSphere ESXi 6.7
VMware vSphere ESXi 6.0
VMware vSphere ESXi 6.5
[root@ESXiHostname:~] cat /etc/vmware/hostd/vmInventory.xml | grep -i VM_name | grep vmx
<vmxCfgPath>/vmfs/volumes/Datastore-UUID/VM_name/
VM_name.vmx</vmxCfgPath>