Run VBScript on server from javascriptphp - Stack Overflow

I have a Single Page Application written in JavaScript and PHP, I am trying to run an external .vbs fil

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"');

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745125215a4612650.html

相关推荐

  • Run VBScript on server from javascriptphp - Stack Overflow

    I have a Single Page Application written in JavaScript and PHP, I am trying to run an external .vbs fil

    8小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信