摘要:
/// /// 执行CMD语句 /// /// 要执行的CMD命令 public string RunCmd(string cmd) { proc.StartInfo.CreateNoWindow = true; proc.StartInfo.FileName ... 阅读全文
posted @ 2016-11-23 21:35
晓明的哥哥
阅读(3618)
评论(0)
推荐(0)
摘要:
string infile = @"C:\Users\yudm\Desktop\test\Patch.sql"; Process sqlprocess = new Process(); sqlprocess.StartInfo.FileName = "osql.exe"; sqlprocess.StartInfo.Argu... 阅读全文
posted @ 2016-11-23 21:14
晓明的哥哥
阅读(2457)
评论(0)
推荐(0)