Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

exec, problem with working directory

4:31 pm on May 14, 2013 (gmt 0)

exec.php inside D:/files/
exec("D:/files/menu/pdf/".$name.".bat", $output);




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.
6:55 pm on May 14, 2013 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

It could be that your .bat script requires or assumes a different current working directory.

Featured Threads

Hot Threads This Week

Hot Threads This Month