Windows Shared Folders Not Allowing Links
Posted: 19. Jun 2014, 01:19
I'm sure this has been asked many times before, but I'm not able to find satisfactory answers on Google. Is there any way to create a symbolic link from a Windows guest's local filesystem to one of its shared folders? As an example, I am transferring a folder "C:\Users\Sean\new" to the shared folder MultiMaker, currently bound to drive F, and a file "C:\Users\Sean\new2.txt" to the same shared folder. Therefore, to link the folder from local to the shared folder, I'd need "mklink /D F:\new new", and to link the other way around I'd need "mklink /D new F:\new". For the file, I'd need "mklink F:\new2.txt new2.txt" to link from the local filesystem to the shared folder, and "mklink new2.txt F:new2.txt" for the other way around. I can't use the other 2 options, /H (hard link) for the file and /J (junction folder) for the folder, because they don't work across partitions.
I am able to do this the other way around, i.e. from the shared folder/file to the "local" OS, I'm assuming because Windows doesn't check the original location, only the link's location. In order to even see the shared folder using an administrator account, as admins can't see network shares created by non-admins, I had to run "net use F: \\vboxsrv\MultiMaker". Then, when I tried again, I got "The device does not support symbolic links". Researching the error, I found out that shared folders are of the special filesystem type "VBoxSharedFolderSF". Is there a way to trick Windows into thinking this is an NTFS mount, or otherwise create these symlinks? I would rather do this from the Windows command line or PowerShell, but I'll consider other alternatives.
P.S. I'm able to create shortcuts, but they only work for the guest. As you can no doubt guess, I'd like to access this folder/file from the host, as well.
VirtualBox 4.3.12
Extension Pack Enabled
Host:
Windows 8.1
500GB HDD
x64
6GB RAM
Guest:
Windows 8.1
75GB HDD (I think)
x64
2GB RAM given
Guest Additions enabled (obviously)
I am able to do this the other way around, i.e. from the shared folder/file to the "local" OS, I'm assuming because Windows doesn't check the original location, only the link's location. In order to even see the shared folder using an administrator account, as admins can't see network shares created by non-admins, I had to run "net use F: \\vboxsrv\MultiMaker". Then, when I tried again, I got "The device does not support symbolic links". Researching the error, I found out that shared folders are of the special filesystem type "VBoxSharedFolderSF". Is there a way to trick Windows into thinking this is an NTFS mount, or otherwise create these symlinks? I would rather do this from the Windows command line or PowerShell, but I'll consider other alternatives.
P.S. I'm able to create shortcuts, but they only work for the guest. As you can no doubt guess, I'd like to access this folder/file from the host, as well.
VirtualBox 4.3.12
Extension Pack Enabled
Host:
Windows 8.1
500GB HDD
x64
6GB RAM
Guest:
Windows 8.1
75GB HDD (I think)
x64
2GB RAM given
Guest Additions enabled (obviously)