I tried to find the solutions in many places but couldn't find specific answer.
I am creating a batch script. The following is my code so far
    @echo off
    SETLOCAL EnableDelayedExpansion
    cls
    for /f "delims=" %%a in ('rasdial EVDO cdma cdma') do set "ras=!ras! %%a"
    findstr /C:"%ras%" "already"
    if %errorlevel% == 0 
    (
        echo "it says he found the word already"
    )
    else
    (
        echo "it says he couldn't find the word already"
    )
OUTPUT :
    FINDSTR: Cannot open already
    The syntax of the command is incorrect.
I'm trying to find the word 'already' in variable 'ras',
The problem seems to be in findstr /C:"%ras%" "already"
I tried using findstr "%ras%" "already" but that doesn't work too.