Beyond Compare generate HTML format diff report

Source: Internet
Author: User

1, if using the installation version of the Beyond Compare, the installation path to the environment change, so you can execute in cmd BCompare.exe

2, in the CMD path to add a file diff_to_html, enter the following content

Text-report layout: Side-by-side &  options: Ignore-unimportant,  Display-context &  output-to:%3 output-options: HTML%1%2

3. Run the following command (if you use the green version of Beyond Compare, you can directly drag the BCompare.exe icon into the cmd window to execute the line)

Bcompare.exe/silent @diff_to_html file1.txt file2.txt report.html

/silent, do not let the message hint, if you want to see the results of the message hint can be removed from this parameters

File1.txt-Compare Files 1

File2.txt-Compare Files 2

Diff results generated by report.html

The output of the report.html will be stored in the CMD's executive catalogue. To specify a different path, take the last one to the absolute path.

PS: currently only used in the TXT format file comparison, the remainder of the file type is not sure whether it can be executed successfully.

Beyond Compare generate HTML format diff report

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.