Hi, I assume that you want to invoke an application that is on client machine, with a php script executed on the server... right? If yes, then there are couple of issues. 1. php script executed on server cannot control the applications on client. What server sends client is only HTML, nothing else. So you should send links to appropriate locations of the applications as anchor tags. 2. Even though on same machine (localhost) client and server are considered different, so use point no.1 If you want to execute windows programs on the server itself, then I think there is no way to grab the output of the application and use it further in PHP code. Regards, Manda Krishna Srikanth http://www.krishnasrikanth.com php-objects@xxxxxxxxxxxxxxx wrote on 02/22/2008 04:34:39 PM: > I need some windows program to run by php script e.g. opening > windows calculator, mspaint, notepad,it is not a simple file.it is > exe file or any other file etc > $command="C:\\mvtest-ng\\tests\\automation\\demo\\start.bat"; > $output=shell_exec($command." 2>&1"); //system call > > =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you [Non-text portions of this message have been removed]