VMware Communities
mksft
Enthusiast
Enthusiast

How to start VMware virtual machine directly by shortcut?

Hi!

I saw starting VirtualBox virtual machine from shortcut directly, I was surprised,

I think VMware is very good software and is not missing this feature.

So:

How to start VMware virtual machine from shortcut directly? I mean start 'cause it is possible to create shortcut to VM, but it starts VM not, only displays its window.

No matter if Workstation Pro or Player.

Thank you for each help.

Miro

5 Replies
RDPetruska
Leadership
Leadership

Just double-click on the vmx file you wish to start.

Reply
0 Kudos
mksft
Enthusiast
Enthusiast

Ok, but I want to start it by command, in my case in AutoHotKey script - assign key to start VM, anything like this:

SC057::

Run, "E:\VMware\VM\Win7\windows7.vmx"

Return

Simply: I use path, but how to create path for starting machine?

Miro

Reply
0 Kudos
wila
Immortal
Immortal

Hi,

Use vmrun.

eg.

vmrun start "E:\VMware\VM\Win7\windows7.vmx" gui

The vmrun command is located somewhere under your VMware folder.

--

Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
mksft
Enthusiast
Enthusiast

Thank you!

That's exactly what I need.

Else one, really last Q: How to do the same using VMware Workstation Player?

Miro

Reply
0 Kudos
mksft
Enthusiast
Enthusiast

Really I found it.

On the web I found complete manual how to use vmrun.

Now I can start VM also in Player, by example:

vmrun -T player start "E:\VMware\Win7\Windows7.vmx" gui

Thank you for help with vmrun command.

Miro