ZTree.com  | ZEN  | About...  

 Index   Back

[Bug] JFC or ZTree?   [Bug]

By: Paul Laufer       
Date: Oct 19,2012 at 19:29
In Response to: [Bug] JFC or ZTree? (Ian Binnie)

> 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

1,309 views      
Thread locked
 

Messages in this Thread

 
96,637 Postings in 12,231 Threads, 350 registered users, 133 users online (0 registered, 133 guests)
Index | Admin contact |   Forum Time: Mar 29, 2024 - 3:49 pm UTC  |  Hits:62,411,783  (26,569 Today )
RSS Feed