C# 执行运行命令-调用ShellExecute
方法:
//清理全部浏览器历史记录Utils.ShellExecute(IntPtr.Zero, new StringBuilder("open"), new StringBuilder("rundll32.exe"), new StringBuilder("InetCpl.cpl,ClearMyTracksByProcess 255"), new StringBuilder(""), 1);
发布时间: 2012-08-22 09:50:35 作者: rapoo
C# 执行运行命令-调用ShellExecute
方法:
//清理全部浏览器历史记录Utils.ShellExecute(IntPtr.Zero, new StringBuilder("open"), new StringBuilder("rundll32.exe"), new StringBuilder("InetCpl.cpl,ClearMyTracksByProcess 255"), new StringBuilder(""), 1);