Share File Settings in VirtualBox (hostlinux)

Source: Internet
Author: User
Article Title: Share File Settings in VirtualBox (hostlinux ). Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

Run the following command on the VirtualBox host (in Linux:

VBoxManage sharedfolder add "VM name"-name "sharename"-hostpath "\ test"

VM name in this command specifies the name of the VM to use the shared folder, such as WinXP; sharename is the name of the shared folder, which can be set at will, such as sharedfolder; \ test.

The following is an example of this command:

VBoxManage sharedfolder add "WinXP"-name "downloads"-hostpath "\ home \ xu \ downloads"

Start the Virtual Machine (Windows XP in this example), click "run" in the Start Menu, Enter cmd, and then execute the following command:

Net use x: \ vboxsvr \ sharename

X in this command: The mapped drive letter; sharename is the name of the shared folder set in the previous step. Similarly, we provide an instance for reference:

Net use Z: \ vboxsvr \ downloads

After the command is successfully executed, you can use all the files in the shared folder through the resource manager.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.