반응형
윈도우 종료 : 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://url.com”);
도스명령어 실행 : System.Diagnostics.Process.Start(“cmd.exe”, “*/c dir”);
반응형
'c#' 카테고리의 다른 글
filtering-streaming-data-to-reduce-noise-kalman-filter-c-sharp (0) | 2018.11.20 |
---|---|
gps GPRMC 확인 (0) | 2018.07.09 |
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> (0) | 2017.09.20 |
c# log4net 설정. (0) | 2016.12.01 |
c# tree view node expand 상태 유지 (0) | 2016.10.18 |