I'm using cygwin

how do i mount a remote c: drive in cygwin

to mount a remote shred dir one could use

mount //#ip address#/#shared folder# /#new dir# but trying to mount c: drive fails

mount //#ip address#/C$ /#new dir#

link|improve this question
feedback

2 Answers

up vote 0 down vote accepted

Try to escape the dollar sign:

mount //#ip address#/C\$ /#new dir#

or

mount "//#ip address#/C$" /#new dir#
link|improve this answer
feedback

If you mount the remote drive as a drive letter in Windows, you can then navigate to /cygdrive/<drive letter> within cygwin.

If you need to mount the drive from the command line, you can use "net use". type "net help use" for command line options.

link|improve this answer
I'm trying to avoid this option since i have another application that map the this drive but with different credential – modi Mar 4 '10 at 19:49
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.