-1

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!!

tilakraj
  • 21
  • 8

1 Answers1

-1

Insert actual URL under review in place of placeholder <reviewTool-url>

rt2800
  • 3,045
  • 2
  • 19
  • 26