Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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#

share|improve this question
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#
share|improve this answer

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.

share|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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .