From: Joe Wirtley Date: 2008-02-24T01:27:37+09:00 Subject: Re: Nested Rails Files Daniel Schæ—¦mer wrote: > Mark Bush wrote: >> Joe Wirtley wrote: >>> When I run rake in the child folder, it works. When I run rake in the >>> Raketest folder, I get the "The system cannot find the path specified." >>> message. So what am I missing? >> [...] >> > For Windows cmd.exe, you can't use ';' to separate commands. You > have to use '&' to unconditionally them one after the other. > > sh "cd Child & rake" # Windows only > > Maybe '&&' will work on Unix and Windows. > > sh "cd Child && rake" > > Daniel Thanks to both of you. I knew it had to be something simple. Both '&' and '&&' appear to work on Windows. -- Posted via http://www.ruby-forum.com/.