如何将文件复制到虚拟框 oracle 框

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/47749643/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 01:15:20  来源:igfitidea点击:

How to copy files into a virtual box oracle box

oraclevirtual-machinevirtualbox

提问by Yaniv Shaked

I am using oracle box with windows and I have to keep re-plugging in my usb for it to recognise. I want to copy files into the virtual machine but it does not let me do this so this is what I have resorted to.

我正在使用带有 Windows 的 oracle 盒,我必须不断重新插入我的 USB 以使其识别。我想将文件复制到虚拟机中,但它不允许我这样做,所以这就是我所采用的。

In general settings I Have enabled shared clipboard and drag n drop.

在一般设置中,我启用了共享剪贴板并拖放。

I've found it's easier just using my laptop for testing but this is just not as convenient. Strangely, my linux OS in my VM works fine and can copy and paste into it from my main os. How do I allow copy and paste for windows? I'm current doing a reinstall of windows os on vm and seeing if that helps.

我发现使用我的笔记本电脑进行测试更容易,但这并不方便。奇怪的是,我的 VM 中的 linux 操作系统运行良好,可以从我的主操作系统复制并粘贴到其中。如何允许复制和粘贴 Windows?我目前正在 vm 上重新安装 Windows 操作系统,看看是否有帮助。

My question, how do I copy and paste into virtual box with windows. Failing that, how can I get my virtual box to recognise my usb without replugging it in and out all the time. Either workaround is useful.

我的问题,如何复制并粘贴到带有 Windows 的虚拟框中。如果做不到这一点,我怎样才能让我的虚拟盒子识别我的 USB,而无需一直重新插入和拔出它。这两种解决方法都很有用。

Thanks.

谢谢。

回答by Yaniv Shaked

A nice solution could be to share a directory on your host machine with the virtual machine, so you can copy your files in and out.

一个不错的解决方案可能是与虚拟机共享主机上的目录,以便您可以将文件复制进出。

Look at: How to share your computer files with a virtual machine

看: 如何与虚拟机共享你的电脑文件