@echo off ShowFPHCfg.exe -in=C:\Brandchange\Recipe.mdb ShowFPHCfg.exe -in=C:\Brandchange\Recipe_buero.mdb echo Press one of the folowing keys to select additional actions: echo 0 do not open any file echo 1 open Recipe_cfg.txt echo 2 open Recipe_buero_cfg.txt echo 3 open Recipe_cfg.txt and then Recipe_buero_cfg.txt echo 4 show simple file compare @set /p in= if "%in%"=="0" goto mEnd if "%in%"=="1" goto mShow1 if "%in%"=="2" goto mShow2 if "%in%"=="3" goto mShow3 if "%in%"=="4" goto mShow4 goto mEnd :mShow1 call notepad C:\Brandchange\Recipe_cfg.txt goto mEnd :mShow2 call notepad C:\Brandchange\Recipe_buero_cfg.txt goto mEnd :mShow3 cmd /c notepad C:\Brandchange\Recipe_cfg.txt cmd /c notepad C:\Brandchange\Recipe_buero_cfg.txt goto mEnd :mShow4 diff -iw -C 0 C:\Brandchange\Recipe_cfg.txt C:\Brandchange\Recipe_buero_cfg.txt > c:\Brandchange\Recipe_Compare.txt call notepad c:\Brandchange\Recipe_Compare.txt :mEnd