Run cmd locally from webpage [closed]

With a generic web page, this is simply not possible, as it would represent a serious security problem.

However if we are talking about an intranet application intended for specific users, you could possibly provide them with a Chrome extension that can shell out a new process. Users would have to install your extension explicitly.

Or if your users all use Internet Explorer, you could potentially develop an ActiveX control that does what you need. Users would need to enable execution of ActiveX controls.

It’s not possible with generic HTML and Javascript.

Leave a Comment