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.we...@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