/cygdrive can't see share z:

Dave Korn dave.korn@artimi.com
Tue Apr 17 12:09:00 GMT 2007

On 17 April 2007 12:52, John Daniel Doucette wrote:

> Daniel,
> I have a similar problem under WinXP.  Almost always, mapped network
> drives are invisible under /cygdrive. Ie. after booting if J: is a
> mapped drive "ls /cygdrive/j" gives "ls: /cygdrive/j: No such file or
> directory". However it ALWAYS becomes visible if you open explorer
> and click on the drive! Ie.
> Reboot, then ...
> $ ls /cygdrive/j
>   ls: /cygdrive/j: No such file or directory
> ... open windows explorer and click on J drive, then...
> $ ls /cygdrive/j
> dir1  dir2 dir3 file1 file2
> I haven't found any other solution yet.

  When you create the network drive, tick "Reconnect at logon".

  Alternatively, run the "net use J:" command in a cmd.exe shell, or from
cygwin shell run "cmd /c net use J:", to get it to mount on demand.

Can't think of a witty .sigline today....

Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

More information about the Cygwin mailing list