delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/04/18/12:44:17

X-Spam-Check-By: sourceware.org
Message-ID: <4624BACB.E9DF4D8C@dessent.net>
Date: Tue, 17 Apr 2007 05:17:15 -0700
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: /cygdrive can't see share z:
References: <auto-000002034691 AT jjmackay DOT ca> <022201c780e9$00241b10$2e08a8c0 AT CAM DOT ARTIMI DOT COM>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019