Page 1 of 1

Start Application in Virtual Machine

Posted: 27. Aug 2009, 09:07
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

Re: Start Application in Virtual Machine

Posted: 27. Aug 2009, 10:58
by vbox4me2
Use the startup folder in the Guest?

Re: Start Application in Virtual Machine

Posted: 27. Aug 2009, 11:21
by Khenjy
eh?

I want to launch a app via command while Windows is running on the Guest.

Re: Start Application in Virtual Machine

Posted: 27. Aug 2009, 11:41
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.