외부 응용프로그램 실행하기
C# 응용프로그램에서 익스플로러를 실행하여 특정 url을 열어주어야 하는 상황이 발생!!아래 소스로 간단하게 해결하였다. 윈도우를 종료 System.Diagnostics.Process.Start("cmd.exe","ShutDown.exe -s -f -t 00"); 윈도우를 재부팅System.Diagnostics.Process.Start("cmd.exe","ShutDown.exe -r -f -t 00"); 특정 폴더 열기 System.Diagnostics.Process.Start("explorer.exe", "C:\Temp"); 특정 사이트 열기 System.Diagnostics.Process.Start("explorer.exe", "http://www.naver.com"); 도스명령어 실행System.D..
C#
2014. 3. 5. 10:36