permission denied with shell.application

前端 未结 2 1620
臣服心动
臣服心动 2020-12-11 17:54

I have following javascript code to run notepade.exe:



        
相关标签:
2条回答
  • 2020-12-11 18:04

    It's necessary to have two settings turned on.

    1. Enable unsigned ActiveX controls for the current zone
      Tools > Internet Options > Security > Custom level...
      Enable "ActiveX Controls and plug-ins" > "Initialize and script ActiveX controls not marked as safe for scripting"

    2. Allow Active Content to run files
      Tools > Internet Options > Advanced > Security Enable "Allow Active Content to run in files on My Computer"

      ** Make sure to close all your IE browser windows.
    0 讨论(0)
  • 2020-12-11 18:19

    You may experience a "Permission denied" error, which means that the browser will not let script execute outside the "sandbox". Try solving the issue by changing a security setting in the browser:

    • Internet Options, Advanced, Security:
    • "Allow Active Content to run in files on My Computer"

    The above is for IE, but most browsers have similar options.

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