在asp.net中执行应用程序有两种方法:1、调用win32函数ShellExecute。添加引用using System.Runtime.InteropServices;声明函数:[DllImport("shell32.dll")] private static extern IntPtr ShellExecute(IntPtr hwnd, string lpOperation, string lpFile, string lpParameters, string lpDirectory, Int32 nShowCmd);在按钮的单击事件处理程序中调用前面生明的ShellExecute函数:ShellExecute(IntPtr.Zero, "open", "c:\\windows\\notepad.exe", null, null, 1);//文件名可以不加后缀,如"c:\\windows\\notepad"。