首页->【软件工具包使用(SW/Software Tools Usage)】

7 2

::====Steps of Usage
:: generate the 2 txt files
:: run the BC software
:: ===============================
::
::  FUNCTION: compare 2 files(FileList_binla.txt ,FileList_binlb.txt) by BeyondCompare software
::  BATNAME : reneme the files
::  RELEASE Date : 08/22/18
::  Create              :Winyoo_Shiy
:: ================================
:: Background Color: Green
color 2
::  define 2 txt files
set FileLista=C:\Users\Desktop\FileList_binla.txt
set FileListb=C:\Users\Desktop\FileList_binlb.txt
:: set the BC software
set BCPath=C:\Program Files\Beyond Compare 4
:: get the *.binl files fileList at the DIR_PATH
set DIR_PATH=C:\Users\Desktop\convert_completed\a
cd  %DIR_PATH%
dir /b >%FileLista%
set DIR_PATH=C:\Users\Desktop\convert_completed\b
cd  %DIR_PATH%
dir /b >%FileListb%
cd %BCPath%
BCompare.exe "%FileLista%" "%FileListb%"
pause
:: end of the files
:: pls del the pause for normal use

楼主可见

  1. shwnyoo 2#

    ***此内容已隐藏,只有楼主可见***

  2. shwnyoo 1#

    bat例程之Beyond Compare 4 软件自动比较两个文本文件【通过获取指定文件下所有文件列表,并存入TXT中,然后利用Beyond Compare 进行比较】