VMware Workstation 4Features | Documentation | Knowledge Base | Discussion Forums
The following list describes various options available when you run VMware Workstation from the command line on a Linux host operating system.
vmware [-x ] [-X ] [-q ] [-v ]
-x automatically powers on the virtual machine when VMware Workstation starts. This is equivalent to clicking the Power On button in the VMware Workstation toolbar.
-X automatically powers on the virtual machine, then switches the VMware Workstation window to full screen mode.
-q closes the virtual machine's tab when the virtual machine powers off. If no other virtual machine is open, it also exits VMware Workstation. This is particularly useful when the guest operating system is capable of powering off the virtual machine.
-v displays the product name, version and build number.
/<path_to_config>/<config>.vmx (or .cfg) launches a virtual machine using the specified configuration file.
X toolkit options can be passed as arguments, although some of them (most notably the size and title of the VMware Workstation window) cannot be overridden.
The switches described above for Linux can also be used on a Windows host. The most convenient way to use the switches is to incorporate them into the command generated by a Windows shortcut.
Create the shortcut, right-click the shortcut, then click Properties. In the Target field, add any switches you want to use after the vmware.exe filename. For example,
"C:\Program Files\VMware\VMware Workstation\Programs\vmware.exe -X C:\Documents and Settings\<username>\My Documents\My Virtual Machines\Windows Me\Windows Me.vmx"
launches the Windows Me virtual machine specified, powers it on automatically and switches to full screen mode.
Be sure to enclose the entire command string in quotation marks.
Note: On Windows, the configuration file has a .vmx extension by default. Path names on Windows use the backslash character (\). X toolkit options are not relevant on a Windows host.