After two days of google search and some other trials, I found the problem. I have to give execute permissions to %SystemRoot%/System32/cmd.exe for the user IUSR_sytemname, for getting those commands executed. regards, ramana, On Sat, 29 May 2004 14:12:33 +0530, venkata ramana <uvramana@xxxxxxxxx> wrote: > > Hi, > > Whenever I try to execute an exe file from a php program, I am > getting an error saying > "Warning: shell_exec(): Unable to execute 'xxxx..'. I am using IIS 6.0 > in windows server 2003. > It is showing the same error even when I try to execute simple command > like 'dir'. Please help me by telling what should I do to execute the > exe files. > > Thanks, > ramana. > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php