Start Application in Virtual Machine

Discussions related to using VirtualBox on Windows hosts.
Locked
Khenjy
Posts: 2
Joined: 27. Aug 2009, 09:00
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7 32Bit

Start Application in Virtual Machine

Post by Khenjy »

Hello, is there a way to get a Shell Extension Entry in Windows like 'Start in Virtual Machine' which will open the virtual machine and open the File in there?

or at least some way to do it, so i dont have to copy a application to the shared folder, go to the Virtual Machine, go there to the Shared Folder, click the file..? :)
Like some sort of Temp folder, and Guest Addition & a little application for the Host, so it will Automaticly copy the file to the Shared Folder, issue a command, so the Virtual Mashine (windows) starts the App.
or some other way D:

//EDIT

Ok, ive made a Batch to 'search and copy' and so...
now the only Prblem left is, is t possible to issue a Command to Virtual Box so i can 'start' the app? something like blahblah.exe -blah "cmd.exe C:\blahblah\%1?

Code: Select all

@echo off
:Restart
if exist Z:\VirtualBox\Temp\*.exe goto Move
wait 7
goto Restart
:Move
for %%f in (Z:\VirtualBox\Temp\*.*) do move %%f C:\Users\Virtual\Downloads
goto Restart
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: Start Application in Virtual Machine

Post by vbox4me2 »

Use the startup folder in the Guest?
Khenjy
Posts: 2
Joined: 27. Aug 2009, 09:00
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7 32Bit

Re: Start Application in Virtual Machine

Post by Khenjy »

eh?

I want to launch a app via command while Windows is running on the Guest.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Start Application in Virtual Machine

Post by Sasquatch »

Please, read the Forum Posting Guide and search. It's been asked a zillion times, it CAN'T BE DONE, alright?

Locking this one, a little search could have found it easily. Ok, not that easily, but it's been asked before a lot.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Locked