I'm using VirtualBox to set up a windows 2008 server. I'd like to add a shared folder, but am running into problems.
Running this in DOS works:
net use t: \\vboxsrv\v-root
But in Cygwin:
$ net use t: "\\vboxsrv\v-root"
System error 53 has occurred.
The network path was not found.
I've also tried these:
$ net use t: \\vboxsrv\v-root
$ net use t: \\\\vboxsrv\\v-root
And I've tried creating a bat script containing the working DOS command, and executing it from cygwin. They all fail with the same error.
I need to do it through Cygwin, because I access the system via SSH, and land in a Cygwin environment. If there is any way to "break out" of cygwin temporarily from within Cygwin, that might be a way to go..
What am I missing?
Create a folder somewhere, like:
$> mkdir -p /mnt/t
Now you can us the mount program in cygwin, like so:
$> mount \\vboxsrv\v-root /mnt/t
Easy as 1,2,3 :-)