Hi!
My problem is:
I'm traying to use the following commandos under win2000 / apache / php4.0.6:
?
// for testing if CMD works or not:
$cmd_commando = cmd /c echo My Name is Adrian;
passthru($cmd_commando);
// the 'hot' commando for CMD:
$cmd_commando = cmd /c xcopy C:\php\INPUT\*
Posteingang [EMAIL PROTECTED] wrote:
$cmd_commando = cmd /c xcopy C:\php\INPUT\* C:\php\OUTPUT\* /w /f
/i /s /e /h /y;
You need to escape your backslashes...
$cmd_commando = cmd /c xcopy C:\\php\\INPUT\\* C:\\php\\OUTPUT\\* /w /f /i
/s /e /h /y;
Also, make sure the account Apache is
2 matches
Mail list logo