This is the mail archive of the
mailing list for the Cygwin project.
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"
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html