I have text file in same folder as where my batch file is.
so I want my batch file to read content of the text file and depending on content of that text file I want it to perform action.
example if text file contains "Hello World" then do like Start VLC if it doesn't contain Hello World then do something else.
Text will update on it's own.
here is my batch code so far, it can output the text from text file on screen.
@echo off
for /f "tokens=*" %%a in (log.txt) do call :processline %%a
pause
goto :eof
:processline
echo line=%*
goto :eof
:eof