How to make some Shared Folder

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Zig
Posts: 2
Joined: 13. May 2007, 20:33

How to make some Shared Folder

Post by Zig »

Hello :)

For begining, I'm French and I haven't got a very good English ;)

So I tested VirtualBox and Virtual PC from Microsoft (free for PC users)
I like more Virtualbox because it's from the free world ;)

But I dont understand how to create a shared folder... In virtual PC it's easy because there is just a button in pannel...
I haven't find any button like it...
I readed that I must use command line, but where can I put this lines ?
I installed guest additions but no buton for shared folder

Anyone can help me (if you understood me, of course) ?
Cogar
Posts: 40
Joined: 12. May 2007, 04:21

Post by Cogar »

The procedure is described in the User Manual on pages 39-41 and 48-50.
Zig
Posts: 2
Joined: 13. May 2007, 20:33

Post by Zig »

Thx for your answer Cogar, but I dont found where I can put the command line and/or found any button
Cogar
Posts: 40
Joined: 12. May 2007, 04:21

Post by Cogar »

In Windows, you use the Command Prompt (DOS window). In Linux, you use the console (terminal window).

Let me add that in Windows, be sure to include the complete path name. You also need to enclose any file or folder names that contain spaces in double quotes with either OS.
abcuser
Volunteer
Posts: 590
Joined: 10. May 2007, 20:03
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Ubuntu, Windows XP

Post by abcuser »

Hi,
I have asked very similar question Sharing files between Windows host and Linux guest and I wrote detailed description. But I have a code page problem and I don't know the codepage syntax that is not described in UserManual.
Thanks,
Abcuser
Oldnewbie
Posts: 2
Joined: 1. Jul 2007, 02:13

Post by Oldnewbie »

Hi,

Try this:

VBoxManage sharefolder add "VM name" - name "SF name" -hostpath "x:\path"

where "Vm name" = Name of the virtual machine where you want to create the share folder. Is CASE SENSITIVE, so be care.

"SF name" = is the name as VBox wil know the host folder wou want to share. Think of it as a nickname, so use the one you like.

"x:\path" = the fully path (in the host), of the host folder you want to share.

Maybe, if you use the RUN window in windows you can not see the errors you probably get, so you can use a batch command like this:

echo on
c:
cd "c:\program files\Innotek VirtualBox\"

VBoxManage sharedfolder add "VM name" -name "SF name" -hostpath "x:\path"

pause
echo off
exit
Post Reply