Need to run a bat file in server PC from client side through HTML.

I had this question after viewing Hyperlink to launch client's local executable program with parameters.

I want to launch ( or execute) a bat file in the server PC in a localhost from the client.

i tried with activex, Webrun. And from server side is working perfect , from client its not working.

and am using windows as local host server and ipad as client.

please support. Thanks in advance.
Sanyal RajProject ManagerAsked:
Who is Participating?
Ryan ChongCommented:
probably can't directly access to server's local resource (like a local executable) from web due to security constraints.

what you may consider is to build a Web Service/ API so that let it to handle the communication with local resource, will your web request can communicate with that Web Service / API.

hope this make sense.
Shaun VermaakTechnical Specialist/DeveloperCommented:
iPad does not support ActiveX
Omar SoudaniSystem Support EngineerCommented:
Shaun VermaakTechnical Specialist/DeveloperCommented:
Best solutions
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.