How to share files/folders in Sun VirtualBox?

Solution 1:

Install the Guest Additions and setup a shared folder (if you haven't done this yet), then use the following command from a command prompt:

net use x: \\vboxsvr\shared

X: is the drive letter that will be assigned to the network drive

Replace shared with the folder name you provided when setting up the shared folder.

You should get this:

enter image description here

If you don't want to map the shared folder, you can always type \\vboxsvr\shared into the address bar of Windows Explorer or the Run box.