I've VirtualBox on a Windows 7 PC and created a virtual machine for Windows XP. Here is what I want to do:
- Run VirtualBox
- Power on guest OS (named "Windows XP")
- Open Winword in guest OS
I want to accomplish these 3 steps at once (by using a batch file for example).
Any help would be appreciated.
In fact I've a batch file but it does not work as I wanted:
"C:\Program Files\Oracle\VirtualBox\Vboxmanage.exe" startvm "Windows XP" TIMEOUT 30 "C:\Program Files\Oracle\VirtualBox\VBoxmanage.exe" guestcontrol "Windows XP" execute --image "C:\PROGRA~1\MICROS~2\OFFICE11\WINWORD.EXE" --username xpuser