as long as ASPNET account or the account the page is run under has permissions, add a OnClick handler for the button, void Button_Click(Object sender,EventArgs e)
{
System.Diagnostics.Process.Start("YourApplicationPath");
}
{
System.Diagnostics.Process.Start("YourApplicationPath");
}
感谢老大思归
function run()
{
var obj = new ActiveXOjbect("WScript.Shell");
obj.Run("c:\\winnt\\notepad.exe");
}
</script><input type=button value="运行" onclick="run()">
var shell=new ActiveXObject("wscript:shell");
shell.run("nodepad d:\\test.ini");