This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Mounting a network share
- From: Roger Wells <roger dot k dot wells at leidos dot com>
- To: <cygwin at cygwin dot com>
- Date: Mon, 2 Nov 2015 11:30:56 -0500
- Subject: Re: Mounting a network share
- Authentication-results: sourceware.org; auth=none
- References: <20151101210207 dot GA4736 at mrvideo dot vidiot dot com> <1046348344 dot 20151102044033 at yandex dot ru> <20151102053515 dot GA8028 at mrvideo dot vidiot dot com> <20151102161838 dot GA9730 at calimero dot vinschen dot de>
On 11/02/2015 11:18 AM, Corinna Vinschen wrote:
> 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
or this works:
net use x: '\\server\share'
(single quotes)
>
>
> Corinna
>
--
Roger Wells, P.E.
leidos
221 Third St
Newport, RI 02840
401-847-4210 (voice)
401-849-1585 (fax)
roger.k.wells@leidos.com
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple