This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Cannot pass space arguments to BATs contains spaces.


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' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]