i have a problem with the execution of copy dos command in a php script using shell_exec. So i have four variables like this:
$app=“myfolder”;
$path3="…/…/$app/certificats/apns-dev-cert.pem";
$path5="…/…/$app/certificats/apns-dev-key-noenc.pem";
$path6="…/…/$app/certificats/apns-dev.pem";
And when i execute:
$file=“copy $path5+$path3 $path6”;
$output = shell_exec($file);
I got command syntax error and the file result is not generated.
Can you help me please how should be the correct syntax of copy,because i have googled and tested many way but with no result !
My OS is Windows-XP.
Thanks you so much!