This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Problem executing a .bat script in a directory with spaces using bash
I get different results than you do. It seems to work as expected:
chcobb@CHCOBB-054009 /c/Documents and Settings 09:45:46
511$ cat test.bat
echo %1
chcobb@CHCOBB-054009 /c/Documents and Settings 09:45:48
511$ ./test.bat
C:\Documents and Settings>echo
ECHO is on.
--
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/