Seems to work for me. I tried this script,
<body>
<?php
exec("dir >c:\temp\php\temp.out");
?>
</body>
And it produced the expected file.
Dave
===========================================
http://badblue.com/helpphp.htm
Free small footprint web server for Windows
Share files... get PHP up and running fast