Jump to content

exec batch


bals28mjk

Recommended Posts

Hey.

 

I'm trying to open a batch file on win xp, but the exec function doesn't seem to be working.

exec($path);

I've tried different combinations of /,//,\ to navigate to the directory.

 

Nothing happens when I open the file via a browser, but i tried it in a cli window and it opens the cmd.exe, but recloses immediately and none of the code gets executed.

 

Anyone know what's going on here? Thanks.  :)

Link to comment
https://forums.phpfreaks.com/topic/112171-exec-batch/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.