Thanks. Spot the deliberate mistake ;) Unfortunately, in my case, it doesn't work. I still get the PSEXEC header, which is what I am trying to suppress. Any other ideas? -----Original Message----- From: Jeroen Serpieters [mailto:jeroen@xxxxxxxxxxxxx] Sent: 22 May 2004 19:05 To: Paul J. Smith Subject: Re: Prevent error output from shell_exec On Sat, 22 May 2004, Paul J. Smith wrote: > I've tried >null and various other things to no > effect. Anyone know how to do this on a windows platform? > Redirecting to NUL (not null) should do the trick. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php