string command = @"Explorer /select," + caseDetail.Case.CasePath;
Process process = new Process();
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.FileName = "cmd.exe ";
startInfo.Arguments = "/C " + command;
startInfo.UseShellExecute = false;
startInfo.RedirectStandardInput = false;
startInfo.RedirectStandardOutput = false;
startInfo.CreateNoWindow = false;
process.StartInfo = startInfo;
try
{
process.Start();
}
catch (Exception e1)
{
}
finally
{
if (process != null)
process.Close();
}
Process process = new Process();
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.FileName = "cmd.exe ";
startInfo.Arguments = "/C " + command;
startInfo.UseShellExecute = false;
startInfo.RedirectStandardInput = false;
startInfo.RedirectStandardOutput = false;
startInfo.CreateNoWindow = false;
process.StartInfo = startInfo;
try
{
process.Start();
}
catch (Exception e1)
{
}
finally
{
if (process != null)
process.Close();
}