Remote File Execution

So I have a web server setup on a remote windows machine using wamp. I am trying to run this php script and have it open the file on that machine:

<?php
    exec('C:\Users\*user*\Desktop\PSTools\PsExec.exe -accepteula -i -s C:\wamp\www\Titanium.exe', $output);
?>

This code causes it to indefinately hang. Any suggestions?

By hang do you mean the php page hangs? Or Titanium.exe never loads?

When I was running some batch files remotely the batch files weren’t showing on the users screen, but they were still doing their job

Sponsor our Newsletter | Privacy Policy | Terms of Service