> I still don't understand why people continue to use a BAT file, but
I do it so that I can invoke whichever compare utility I like. I have 5 installed. Here's the first few lines of my TFC.BAT.
@ECHO OFF
CLS
:START --------------------------------------------------------
echo Paameters --- (%1) (%6) (%4) (%5)
echo Filename --- %4
echo %5
echo ┌───────────────────────────────────────────────────────┐
echo │ TFC.BAT │
echo ├───────────────────────────────────────────────────────┤
echo │ [O]-JFC/TFC [W]inCmp │
echo │ [D]elta [E]xamDiff │
echo │ [B]eyond Compare │
echo │ │
echo └───────────────────────────────────────────────────────┘
echo.
echo.
set choice=
set /p choice=Select the program to implement...
if '%choice%'=='O' goto TFC
if '%choice%'=='o' goto TFC
if '%choice%'=='D' goto Delta
if '%choice%'=='d' goto Delta
if '%choice%'=='B' goto Beyond
if '%choice%'=='b' goto Beyond
if '%choice%'=='W' goto WinCmp
if '%choice%'=='w' goto WinCmp
if '%choice%'=='E' goto Exam
if '%choice%'=='e' goto Exam
ECHO "%choice%" is not valid. Please try again
ECHO.
goto START