Re: 1.7.1: Problem with cygstart and arguments containing spaces

2010-03-04 Thread Charles Roper
On 04/03/2010 21:12, Ilya Beylin wrote: cygstart /cygdrive/d/Software/Console2/Console.exe '-d "C:/Program Files" ' That worked. Many thanks Ilya for the solution and also Cyrille for giving it some attention. Much appreciated. Cheers. Charles -- Problem reports: http://cygwin.

Re: 1.7.1: Problem with cygstart and arguments containing spaces

2010-03-04 Thread Ilya Beylin
Hello, Cyrille Lefevre wrote: > cygstart --wait /system32/cmd /c "echo 1 2&pause" I do not think it is a convincing example. cmd.exe treats everything that follows / c as a single command, so yuo would get the same result even without quotes.     cygstart --wait $WINDIR/system32/cmd /c echo 1 2 

Re: 1.7.1: Problem with cygstart and arguments containing spaces

2010-03-04 Thread Cyrille Lefevre
Charles Roper a écrit : The thing is, if there is a space in the path after the -d switch, the argument doesn't work correctly: $ cygstart "D:/Software/Console2/Console.exe" -d "C:/Program Files" $ cygstart "/cygdrive/d/Software/Console2/Console.exe" -d "C:/Program Files" Neither of those

1.7.1: Problem with cygstart and arguments containing spaces

2010-03-03 Thread Charles Roper
I am trying to launch instances of Console 2.00b145 [1] from my Cygwin bash shell. I am using Console's -d switch to specify the startup directory. The following works: $ "/cygdrive/d/Software/Console2/Console.exe" -d "C:/Program Files" As does this: $ "D:/Software/Console2/Console.exe" -d "C: