Executing bat file via Chrome

前端 未结 1 489
迷失自我
迷失自我 2021-01-28 02:50

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

相关标签:
1条回答
  • 2021-01-28 03:17

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

    0 讨论(0)
提交回复
热议问题