Cannot pass space arguments to BATs contains spaces.

Atry pop.atry@gmail.com
Tue Aug 14 01:25:00 GMT 2012


I execute following command in bash:

echo 'echo %1' > 'hello world.bat'
chmod +x 'hello world.bat'
'./hello world.bat' 'There are some spaces.'

And I got:

'C:\Users\Atry\hello' 不是内部或外部命令,也不是可运行的程序
或批处理文件。


More information about the Cygwin mailing list