Posted on July 24, 2019 at 3:37 pm
Lets say you have created a shared folder in your Linux Debian host, i.e:
/vms/shared_folder |
Now you want to add that shared folder on VM named “Win7-64-bit-VM1”:
VBoxManage sharedfolder add Win7-64bit-VM1 --name srv --hostpath "/vms/shared_folder" --transient |
The “–transient” makes sure the mapping will not persist over the VM restart.
If you want the mapping to persist over the VM restart, type:
VBoxManage sharedfolder add Win7-64bit-VM1 --name srv --hostpath "/vms/shared_folder" |
Use “–automount” to automatically mount the share:
VBoxManage sharedfolder add Win7-64bit-VM1 --name srv --hostpath "/vms/shared_folder" --automount |
References:
VirtualBox VBoxManage add/remove shared folders on the fly
VBoxManage sharedfolder add/remove
Other Posts
- NodeJs Request.Get Example with Error Handling
- NodeJs HTTPS.Get Example with Error Handling
- How to Find PHP.ini Location
- How to Enable Display of Errors in PHP
- Go One Directory Level Up/Back with Dirname() in PHP
- Save a String to File in Python
- Create a File Name with Current Date & Time in Python
- Get Current Script Path in Python
Updated Posts
- Compress Word, Excel and PowerPoint Office Documents
- Download OpenVPN 2.4.7 and TAP-Windows
- api-ms-win-crt-runtime-l1-1-0.dll is missing
- jQuery Get File Extension Before Uploading File
- Estimate Number of Visitors and Pageviews of any Website
- How to Configure OVH Email POP3 with Thunderbird
- Simple jQuery File Upload SimpleUpload.js
- Repeat AJAX GET Until a Specific Response is Met in jQuery