How to call .exe file from Php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dcrera
    New Member
    • Sep 2011
    • 1

    How to call .exe file from Php

    Hi

    I need to call an .exe file from PHP in windows.

    The file is resident on all machines that can run the form.

    Tried

    exec('C:\Progra m Files\Mincom\Au toIt\secureweb. exe');
    and passthru, system

    and the program does not launch.
  • code green
    Recognized Expert Top Contributor
    • Mar 2007
    • 1726

    #2
    Tried
    exec('C:\Progra m Files\Mincom\Au toIt\secureweb. exe');
    and passthru, system
    I think the space in Program Files causes the problem.
    It needs to be written Pro~1 or something like that.

    Please research this, because although I have experienced the problem I can only vaguely remember the details

    Comment

    Working...