Executing bat file via Chrome

How to run a local bat file on a js button click using Chrome browser ?

'window.open('file:///C:/Test/Test.bat' - Opens the bat file contents in a new tab instead of executing the file. It works fine in IE browser. Please suggest how to achieve this in chrome without using any plugins.

Answers:

Answer

You can't do that. Otherwise it would be a security problems because hackers could use it to do malicious things on our computer.

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.