delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
Message-ID: | <004301c313ac$64d37c30$193c82a4@tun.st.com> |
From: | "saber_zrelli" <saber DOT zrelli AT st DOT com> |
To: | <cygwin AT cygwin DOT com> |
References: | <000901c3131b$d5f2f4e0$193c82a4 AT tun DOT st DOT com> <00ab01c3131d$b55ebcd0$492c86d9 AT ellixia> <3EB69C4C DOT 2070004 AT cotagesoft DOT com> |
Subject: | Re: "bash -c" inquery |
Date: | Tue, 6 May 2003 09:49:22 +0100 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mimeole: | Produced By Microsoft MimeOLE V6.00.2800.1106 |
Hi , that worked correctly , thank you very much MISTER Shankar =) Regards. Saber. ----- Original Message ----- From: <shankar AT cotagesoft DOT com> To: <cygwin AT cygwin DOT com> Sent: Monday, May 05, 2003 6:15 PM Subject: Re: "bash -c" inquery Elfyn McBratney wrote: >>why this command did not work correctly ?? >>c:\cygwin\bin\bash --login -i -c "net use \\\\view\\MCDT1_ST72521" > Should be '\\server\resource' when called from within Windows. Actually, in this case, he needs to go the other way: one set of back-slashes is eaten when the bash -c command is parsed above, and another set of backslashes is eaten when bash actually executes the command, so try: bash --login -i -c "net use \\\\\\\\view\\\\MCDT1_ST72521" (Seriously!) -- Shankar. -- 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/ -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |