This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Mounting a network share


On Nov  1 23:35, Mike Brown wrote:
> On Mon, Nov 02, 2015 at 04:40:33AM +0300, Andrey Repin wrote:
> > net use //host/resource[/path] P: * /PERSISTENT /SAVECRED
> 
> I got the following to be accepted:
> 
> net use \\192.168.1.40\Public password /user:brown /persistant:yes
> 
> The syntax doesn't have a place to where it should be mounted.

I missed that in my reply.  It has:

  net use X: \\server\share

when using this command in a Cygwin shell, keep in mind that backslashes
need to be escaped in Unix shells:

  net use X: \\\\server\\share


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpcbSoKZIWfH.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]