I'm moving my virtual machines sometimes - changing drives, directories sometimes. I'm using shared folders quite a lot.
=> Could that be possible to specify shared folders using relative paths instead of absolute paths?
For example, a machine created originally in the D:\VB\xyz could be easily move to F:\VB\xyz if we could specify that the shared folder is ".\shared" instead of D:\VB\xyz\shared (wich have to be changed to when moving the machine). The "." here could be replaced by the absolute path of the .vbox file.
Thank you for this great product!
Jocelyn Simard
relative path for shared folders
-
- Posts: 2
- Joined: 1. Jun 2012, 11:48
- Primary OS: MS Windows 7
- VBox Version: PUEL
- Guest OSses: Kubuntu 12.04 MS Windows 8 RC MS Windows XP
Re: relative path for shared folders
I'd like to know that too, I have Portable Virtualbox and a Guest system on a USB drive,
I like to share a Folder from the USB stick, where it doesnt matter which drive letter the stick
gets, so specifying relative paths would be great.
I like to share a Folder from the USB stick, where it doesnt matter which drive letter the stick
gets, so specifying relative paths would be great.
-
- Posts: 2
- Joined: 1. Jun 2012, 11:48
- Primary OS: MS Windows 7
- VBox Version: PUEL
- Guest OSses: Kubuntu 12.04 MS Windows 8 RC MS Windows XP
Re: relative path for shared folders
any news if this is possible?
seems not much activity here
seems not much activity here
Re: relative path for shared folders
Is this feature implemented for now?
Does VirtualBox support environment variables in the shared folder's paths?
Does VirtualBox support environment variables in the shared folder's paths?
-
- Site Moderator
- Posts: 27330
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: relative path for shared folders
No.Akon wrote:Is this feature implemented for now?
No.Akon wrote:Does VirtualBox support environment variables in the shared folder's paths?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Re: relative path for shared folders
Sadly.
I have VirtualBox installed on both Windows and Linux dual OS PC. Then I use guest systems from both host systems more or less evenly. Shared folder (the same for both host systems) in VM settings looks like this:
It would be nice to have one entry only, something like this:
or
Of course, VirtualBox must support forward/back slashes in paths as well as both environment variables markers: $ for Linux and %% for Windows.
Does a way exist to specify the same shared folder per one entry somehow? Any tricks?
I have VirtualBox installed on both Windows and Linux dual OS PC. Then I use guest systems from both host systems more or less evenly. Shared folder (the same for both host systems) in VM settings looks like this:
Code: Select all
Windows: name: EVMsSharedFolder path: E:\VMsSharedFolder
Linux: name: CommonVMsSharedFolder path: /mnt/Common/VMsSharedFolder
Code: Select all
name: EVMsSharedFolder path: ../EVMsSharedFolder (rel. path)
Code: Select all
name: EVMsSharedFolder path: $EVMsSharedFolder (env. var.)
Does a way exist to specify the same shared folder per one entry somehow? Any tricks?
-
- Site Moderator
- Posts: 27330
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: relative path for shared folders
No.Akon wrote:Does a way exist to specify the same shared folder per one entry somehow?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.