Copy file from host to guest when vm is off

This is for discussing general topics about how to use VirtualBox.
Post Reply
rob2505
Posts: 2
Joined: 18. May 2012, 15:27

Copy file from host to guest when vm is off

Post by rob2505 »

Hi to all,
is there some way to copy some file from host to guest when the guest machine is off?
I need that the virtual machine, after startup can found several file, important to execution of the task. The files are different each time so i can not create a virtual appliance with those files.
I found this command: "vboxmanage guestcontrol cp" but it is working only if the vm is on, and then it need a guest addition and i prefer to have not this obligation.
Thanks a lot.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Copy file from host to guest when vm is off

Post by Perryg »

Short answer is no.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Copy file from host to guest when vm is off

Post by mpack »

It depends on the guest application. If the app can configured to process files in a shared folder, then the host can place files in that shared folder even when the guest VM is not running.
rob2505
Posts: 2
Joined: 18. May 2012, 15:27

Re: Copy file from host to guest when vm is off

Post by rob2505 »

Both are good solutions for me.
Thank you very mutch.
Post Reply