batch file execution asp classic

后端 未结 2 2027
醉话见心
醉话见心 2021-01-23 10:27

I need help executing a batch file from a client (accessing via HTTP intranet executing using ASP Classic).

OS used:

  • Client (Windows XP) - Here is where th
2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-23 11:17

    Another option -- especially if you need to run these scripts under a different security context than IIS for folder/share access, running Admin-privileged commands, etc. -- is to set up a Windows Scheduled Task to run the script (without any associated schedule if it doesn't need one), and then call that task from the ASP page.

    Run a scheduled task from an ASP/IIS page

    It does require granting filesystem access to the IUSR account on the scheduled task file.

提交回复
热议问题