I would like to know how I could achieve this, I tried several times, no luck .. I get a syntax error
I need to write a batch file to read the first line of text, assign it to a variable, and then compare with the line.
bool.txt:
Hello
test.bat:
set Variable =< C:\bool.txt
if "%Variable%"=="Hello"
echo I am here
Thanks in advance SR
source
share