OSDN Git Service

Version 2.00
[vbslib/main.git] / _src / Test / tools / PartCmp / test / T_DOpt / T_ALL_4_setup.bat
diff --git a/_src/Test/tools/PartCmp/test/T_DOpt/T_ALL_4_setup.bat b/_src/Test/tools/PartCmp/test/T_DOpt/T_ALL_4_setup.bat
new file mode 100644 (file)
index 0000000..406fe19
--- /dev/null
@@ -0,0 +1,77 @@
+echo off \r
+set base=%cd%\r
+\r
+set out=T_DOpt1_ans.txt\r
+if exist %out% del %out%\r
+echo [PartCmp]>>%out%\r
+echo PartStartTag: "[start]">>%out%\r
+echo MasterPartFile: "left*.txt">>%out%\r
+echo.>>%out%\r
+echo Investigating in "%base%\target\*" without sub folder ...>>%out%\r
+echo.>>%out%\r
+echo Same: %base%\target\right1.txt>>%out%\r
+echo   matched part file: left1.txt>>%out%\r
+echo Same: %base%\target\right2.txt>>%out%\r
+echo   matched part file: left1.txt>>%out%\r
+echo Diff: %base%\target\right3.txt>>%out%\r
+echo Same: %base%\target\right4.txt>>%out%\r
+echo   matched part file: left2.txt>>%out%\r
+echo Diff: %base%\target\right5.txt>>%out%\r
+echo.>>%out%\r
+echo ----------------------------------------------------->>%out%\r
+echo.>>%out%\r
+echo Same as left1.txt are 2 files>>%out%\r
+echo %base%\target\right1.txt>>%out%\r
+echo %base%\target\right2.txt>>%out%\r
+echo.>>%out%\r
+echo Same as left2.txt are 1 files>>%out%\r
+echo %base%\target\right4.txt>>%out%\r
+echo.>>%out%\r
+echo Others are 2 files>>%out%\r
+echo %base%\target\right3.txt>>%out%\r
+echo %base%\target\right5.txt>>%out%\r
+echo.>>%out%\r
+echo Total 5 files>>%out%\r
+\r
+set out=T_DOpt2_ans.txt\r
+if exist %out% del %out%\r
+echo [PartCmp]>>%out%\r
+echo PartStartTag: "[start]">>%out%\r
+echo MasterPartFile: "left*.txt">>%out%\r
+echo.>>%out%\r
+echo Investigating in "%base%\target\*" with sub folder ...>>%out%\r
+echo.>>%out%\r
+echo Same: %base%\target\right1.txt>>%out%\r
+echo   matched part file: left1.txt>>%out%\r
+echo Same: %base%\target\right2.txt>>%out%\r
+echo   matched part file: left1.txt>>%out%\r
+echo Diff: %base%\target\right3.txt>>%out%\r
+echo Same: %base%\target\right4.txt>>%out%\r
+echo   matched part file: left2.txt>>%out%\r
+echo Diff: %base%\target\right5.txt>>%out%\r
+echo Same: %base%\target\2\right1.txt>>%out%\r
+echo   matched part file: left1.txt>>%out%\r
+echo.>>%out%\r
+echo ----------------------------------------------------->>%out%\r
+echo.>>%out%\r
+echo Same as left1.txt are 3 files>>%out%\r
+echo %base%\target\right1.txt>>%out%\r
+echo %base%\target\right2.txt>>%out%\r
+echo %base%\target\2\right1.txt>>%out%\r
+echo.>>%out%\r
+echo Same as left2.txt are 1 files>>%out%\r
+echo %base%\target\right4.txt>>%out%\r
+echo.>>%out%\r
+echo Others are 2 files>>%out%\r
+echo %base%\target\right3.txt>>%out%\r
+echo %base%\target\right5.txt>>%out%\r
+echo.>>%out%\r
+echo Total 6 files>>%out%\r
+\r
+set out=_out_ans.bat\r
+if exist %out% del %out%\r
+echo set out=%base%\target\right3.txt>>%out%\r
+\r
+set out=\r
+set base=\r
\r