Thanks all for your valuable input but I think that i was not able to explain the problem properly. Suppose I am using C# to run the ping command. Now once this command runs all output I get goes to the console window. Now what I want is that In place of going to the console window, can it go into a log file. Thanks and Regards,
Sankalp Verma