- Open the root folder of your website (Example: C:\inetpub\wwwroot)
- Create a text file with extension .aspx (Exampe: run.aspx)
- Add the following script
<script language="c#" runat="server"> public void Page_Load(object sender, EventArgs e) { System.Diagnostics.Process.Start(@"C:\inetpub\wwwroot\run.bat"); Response.Write("OK"); }
< /script>
(You will need to remove the space i addeed for the < /script>, Stackoverflow doesnt allow me to add script tags the correct way.)
Then call the file /run.aspx