This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: "bash -c" inquery
Hi ,
that worked correctly ,
thank you very much MISTER Shankar =)
Regards.
Saber.
----- Original Message -----
From: <shankar@cotagesoft.com>
To: <cygwin@cygwin.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/