Posted by freak on 04/24/06 11:39
Hi,
Have a problem with spaces in the function popen
Next example works fine:
....
$drive="c:";
$path="";
$file=" \\myfile.exe">";
$call = $drive.$path.$file;
pclose(popen('start /b '.($call).'', 'r'));
.....
Using "Program Files" in the path name
$path=" \\Program"> Files"; (error: "c:\Program ... " not found)
or
$path=" \\Program Files">"; (error: "c:\Program%20Files ... " not found)
thus this will not work!!!!!!!!
Please help
Navigation:
[Reply to this message]
|