permission denied with shell.application

前端 未结 2 1622
臣服心动
臣服心动 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.

提交回复
热议问题