Hi,
Has anyone done this?
It works from a command prompt on the server but not if I run exec...I get the shutdow helpfile displayed instead.
Is there anyway to see what command php is actually issuing?
Do I need double forward/backward slashes ???
Thanks
<?
exec("shutdown /r /t 0 /m \\services ") ;
?>