exec.php inside D:/files/
exec("D:/files/menu/pdf/".$name.".bat", $output);
And
print_r($output);
returns
D:/files
If I place exec.php inside pdf folder, everything woks fine.
But not outside even if I provide the absolute path. etc...
Appreciate your help.