mutiple validation in same do not working
Posted: 23 Aug 2019 07:14
Hi Frinds
i have script like below
for /F " skip=1 tokens=3,7 delims=;" %%a in (%file% ) do (
set token7=%%b
set token3=%%a
echo !token7! !token3! it is displaing both the value
if !TOKEN7! equ 0 echo(field "DIS_TYPE" = " " is Blank)
if !token3! equ 0 echo(field "Reason" = " " is Blank) but it not showing this message
)
only one message its showing, where is the wrong..?
i have script like below
for /F " skip=1 tokens=3,7 delims=;" %%a in (%file% ) do (
set token7=%%b
set token3=%%a
echo !token7! !token3! it is displaing both the value
if !TOKEN7! equ 0 echo(field "DIS_TYPE" = " " is Blank)
if !token3! equ 0 echo(field "Reason" = " " is Blank) but it not showing this message
)
only one message its showing, where is the wrong..?