exec() will execute the app as the system, not a user, so cannot interact
with the desktop.

One way of getting around this would be (for NT) to use the exec() command
to create an AT schedule for 1 min in the future and set it to /interactive
which would cause the app to load and interact with the desktop of the
logged in user (if there was one). This is theory, by may just work.....



"Yaroukh" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> This works:
> Exec("mkdir myDirectory");
> ... this doesn't:
> Exec("C:\\Program Files\\WinAmp\\winamp.exe");
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to