Run VBScript on server from javascriptphp - Stack Overflow

admin2025-04-20  1

I have a Single Page Application written in JavaScript and PHP, I am trying to run an external .vbs file on my server?

I have tried using the php COM class as well as exec() to no avail. Has anyone successfully achieved this? Is it even possible?

I have a Single Page Application written in JavaScript and PHP, I am trying to run an external .vbs file on my server?

I have tried using the php COM class as well as exec() to no avail. Has anyone successfully achieved this? Is it even possible?

Share Improve this question asked Aug 23, 2013 at 19:08 A.O.A.O. 3,7636 gold badges32 silver badges49 bronze badges 0
Add a ment  | 

1 Answer 1

Reset to default 5

Found this gem: http://technet.microsoft./en-us/library/ee156587.aspx

By that, you should try the similar in PHP:

exec('wscript "C:/path/to/script.vbs"');
转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1745125216a286384.html

最新回复(0)