X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:references:to:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=yVf5e2D4zWA2C7zt 7vT4C4HaVoM/vbQk3x45XfTUdP7UAhoBYc4HrR7KNBCAKh2cLoa3c00t0HZRwPz3 R/cVzE1gR7+zrGB/ef9Tzy9lQ/YyXltBfTaVeKJxM1epY+ktsyVffuivLYM+3dRJ dUd2P8U5i4XLVYjfvFiX1yfwiGY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:references:to:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=rpspV5EcAzFQv6QNFDjmPf bswnM=; b=IXaY0spIjAO8SNMEwymEJ8VwY74i1b0Twx3hjf20a9qtmFHVbDswZY zTi3zMsbHm+YPNG2JE6MTTWvJiIG34BZoi/JqylqWFkPNSWSg3ZsgkF1rPsr2kmZ 44ftfi3oqlwPhxROnJkocItSgPcHpeJVj7vCQg20dKVYv2UKWSJZ8= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: EMP-EXED102.leidos.com Subject: Re: Mounting a network share 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> To: From: Roger Wells Message-ID: <56378FC0.4090007@leidos.com> Date: Mon, 2 Nov 2015 11:30:56 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151102161838.GA9730@calimero.vinschen.de> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 DOT k DOT wells AT leidos DOT 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