VMware Workstation 4.5

Features | Documentation | Knowledge Base | Discussion Forums

previous Prev   Contents   Last   Next next

Command Reference

Command Reference

The following sections describe command line options that are available when you launch VMware Workstation and keyboard shortcuts you can use while VMware Workstation is running.

Startup Options on a Linux Host

Startup Options on a Linux Host

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] [-s <variablename>=<value>]
[-m] [-v] [/<path_to_config>/<config>.vmx ]
[X toolkit options ]

-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.

-s sets the specified variable to the specified value. Any variable names and values that are valid in the configuration file may be specified on the command line with the -s switch.

-m starts the program in quick switch mode on a Linux host.

-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.

Startup Options on a Windows Host

Startup Options on a Windows Host

Most of the switches described above for Linux can also be used on a Windows host. The -m switch is for Linux hosts only. 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.

previous Prev   Contents   Last   Next next