i need to run this review tool command in c#, this is the command:
C:\Program Files\<reviewToolName>\review.exe --url <reviewTool-url> admin review-xml reviewno > C:\review.xml
this is what i have tried,
ProcessStartInfo proc = new ProcessStartInfo();
proc.CreateNoWindow = false;
proc.UseShellExecute = false;
proc.FileName = @"C:\Program Files\<reviewToolName>\review.exe";
proc.WindowStyle = ProcessWindowStyle.Hidden;
proc.RedirectStandardOutput = true;
proc.Arguments = "--url <reviewTool-url> admin review-xml " + reviewno.ToString() + " > C:\\review.xml;
Process.Start(proc);
but i'm getting error as xml file is not created anybody please help me!!