/cygdrive can't see share z:

Brian Dessent brian@dessent.net
Tue Apr 17 12:17:00 GMT 2007


Dave Korn wrote:

> > $ 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.

Or just skip the annoying drive letter buisness entirely...

mount -f //machine/sharename /desired/location
ls -l /desired/location

Brian

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