exec - Directory (including " ") and A LOTS of parameters

From: Mira Jungholdt (PhX-X_at_gmx.net)
Date: 10/22/04


Date: 22 Oct 2004 05:41:22 -0700

Hi!

I try to make following command work:

C:\x x\daExe.exe "asdf asdf" "jkl jkl"

As you can see, the directory has space in one of its folder and the arguments too.

now i try following commands:
exec("\"c:\x x\daExe.exe\" \"asdf asdf\" \"jkl jkl\"");
exec('\"c:\x x\daExe.exe\" \"asdf asdf\" \"jkl jkl\"');
...

I look on php.net but i havn't found anything that could help.

has anybody a clou?

phx