ASP.NET
웹에서 절대경로 지정한 exe 실행 하기
Godffs
2011. 4. 21. 10:13
반응형
aspx.cs 페이지에서 버튼 이벤트 호출시 절대경로에 있는 exe파일을 실행하는 방법
using System.Diagnostics; //추가된 DLL ( Process 사용 )
Process prs = new Process();
prs.StartInfo.FileName = "절대경로 지정";
prs.Start();
자세한건...MSDN에서...Orz
using System.Diagnostics; //추가된 DLL ( Process 사용 )
Process prs = new Process();
prs.StartInfo.FileName = "절대경로 지정";
prs.Start();
자세한건...MSDN에서...Orz
/*
* //프로그램 실행
//string strexe = "";
//strexe = ConfigurationManager.AppSettings["ProcesSingle"];
//Process ps = new Process();
//ps.StartInfo.FileName = strexe;
//ps.Start();
*/
반응형