Re: Cannot pass space arguments to BATs contains spaces.

2012-08-15 Thread Atry
Thanks. The cmd is really weird. 2012/8/14 Sean Daley > > On Mon, Aug 13, 2012 at 8:41 PM, Atry <> wrote: > > 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: > > > >

Re: Cannot pass space arguments to BATs contains spaces.

2012-08-13 Thread Sean Daley
On Mon, Aug 13, 2012 at 8:41 PM, Atry <> wrote: > 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' 不是内部或外部命令,也不是可运行的程序 > 或批处理文件。 There's a thread from abo

Cannot pass space arguments to BATs contains spaces.

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