Hello,
I want the user of my Batch File to type in a sentence, and if it contains a 'keyword' i want them to be directed to a section of the batch file.Thing is, I'm currently using:
if '%input%'=='keyword' goto keyword
and at the bottom i have (to be sure):
goto %input%Using this, the keyword has to be at the beginning of the sentence.
So, if the keyword is 'made', then i would work if the user typed 'made', but not if they typed 'who made you'.
Is there a way for the keyword to be anywhere in the sentence?

if not "%input:keyword=%"=="%input%" goto keyword
BRILLIANT!! Thanks is there a way to have two keywords, both required to access
if not "%input:keyword1=%"=="%input%" ( if not "%input:keyword2=%"=="%input%" goto keyword )
