I am building a batch file that would only call another batchfile if a certain text string is found within a particular text file: I was thinking I could use the IF, FINDSTR and CALL commands to build this but since my DOS knowledge is limited at best I am unsure of the syntax.
For example
Execute batch file "A"
IF FINDSTR /I "Database" file.txt CALL B.bat. ELSE CALL C.bat.
anyhelp would be appreciated..