With the help of various methods, you can share files and folders between ubuntu and windows 10. click on 'devices' tab provided on the vm virtualbox taskbar and select 'shared folders' from the drop down list. Start your guest os in which you want to share drives folders and files contained in them. then after logged in to ubuntu, create a new directory for example media vboxshared and mount that drive using the command sudo mount t vboxsf sharename media vboxshared.enter your password when it prompts for the password. option 1: before booting up ubuntu, inside virtualbox ubuntu vm settings, specify a share folder. now that you have installed the guest additions, select your ubuntu virtual machine as shown below : and then click on settings on the menu bar. if however your virtualbox runs on windows, you may want to check this articl e.
We have written a small article on how to do this in case your virtualbox runs on ubuntu.