摘要:
private void MoveDirectory(string sourceDir, string targetDir, bool allowOverWriteFile){ if (targetDir[targetDir.Length - 1] != Path.DirectorySeparatorChar) { targetDir += Path.DirectorySeparatorChar; } if (!Directory.Exists(targetDir)) { Directory.CreateDirectory(target... 阅读全文
posted @ 2012-04-25 14:56
sanmao.net
阅读(167)
评论(0)
推荐(0)
摘要:
private string ExecuteCommand(string command) { ProcessStartInfo startInfo = new ProcessStartInfo() { FileName = "cmd.exe", UseShellExecute = false, CreateNoWindow = true, RedirectStandardInput = true, Redire... 阅读全文
posted @ 2012-04-25 14:02
sanmao.net
阅读(161)
评论(0)
推荐(0)
摘要:
FORFILES /P %WINDIR%\servicing\Packages /M Microsoft-Windows-InternetExplorer-*9.*.mum /c “cmd /c echo Uninstalling package @fname && start /w pkgmgr /up:@fname”http://www.kolltveit.org/?p=514 阅读全文
posted @ 2012-04-25 13:36
sanmao.net
阅读(167)
评论(0)
推荐(0)
浙公网安备 33010602011771号