摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 class Program 7 { 8 9 /// 10 /// 11 ... 阅读全文
posted @ 2017-07-11 11:27 sanpi1992 阅读(1262) 评论(0) 推荐(0) 编辑
摘要: 启动 %SystemRoot%\Microsoft.NET\Framework\v4.0.30319\installutil.exe E:\Debug\WindowsServiceTest.exe Net Start FileService sc config FileService start= 阅读全文
posted @ 2017-07-11 11:26 sanpi1992 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 1 Process p = new Process(); 2 ProcessStartInfo pi = new ProcessStartInfo(); 3 pi.FileName = "cmd.exe"; 4 ... 阅读全文
posted @ 2017-07-11 11:23 sanpi1992 阅读(360) 评论(0) 推荐(0) 编辑