Beyond의 설명서 페이지에서 해결책을 찾았습니다.
파일에 다음 줄을 추가하고 이제 명령 프롬프트에 다음 코드 "내 Script.txt를"@ BeyondCompate.exe "1.TXT"를 "실행 사용하여 내 Script.txt를
file-report layout:side-by-side &
options:ignore-unimportant,display-context &
output-to:%3 output-options:html-color %1 %2
으로 저장 2.txt ""Save.html " 그러면 Save.html에 보고서가 저장됩니다.
나는 나의 코드에서이 통합 : 참조 사용 "/ C"인 이유에
System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo();
startInfo.FileName = "cmd.exe" ;
startInfo.Arguments = "/c" + "BeyondCompare.exe" + " " + @"My Script.txt" + " " + "1.txt" + " " + "2.txt" + " " +"Save.html";
System.Diagnostics.Process.Start(startInfo);
알고 http://stackoverflow.com/questions/5047171/passing-an-argument-to -cmd-exe – anurag