Hi
I want to run DOS command from the asp.net web form
my code is
Process p = new Process();
p.StartInfo.WorkingDirectory = Server.MapPath("");
p.StartInfo.UseShellExecute = false;
p.StartInfo.CreateNoWindow = true;
p.StartInfo.FileName = "cmd";
p.StartInfo.Arguments = "dir"; // Your command and args here
p.StartInfo.RedirectStandardInput = true;
p.StartInfo.RedirectStandardOutput = true;
p.Start();
  ...
Go to the complete details ...