Urgent Please Help!!!!!!!!!!!

  • Thread starter Thread starter Sinu M Koshy
  • Start date Start date
S

Sinu M Koshy

System.Diagnostics.Process process = new
System.Diagnostics.Process();
process.EnableRaisingEvents = false;
process.StartInfo.FileName = "c:/MacroTemp/makfile.exe";
process.StartInfo.Arguments = headerFile +" "+ outputFile;
process.Start();
process.WaitForExit();

The above code is not working in an asp.net web
application. Can some one help. It is very urgent.
Pleaseseeeeeeeeee!
Thanks in advance.
Sinu
 
are you sure that the file name is correct
may be it should be "c:\\MacroTemp\\makfile.exe";
Or Server.MapPath("makfile.exe");
and do you have permissions to execute this file
 
Back
Top