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..?
mutiple validation in same do not working
Moderator: DosItHelp
-
- Posts: 128
- Joined: 23 May 2016 15:39
- Location: Spain
Re: mutiple validation in same do not working
review your code, you have unbalanced parentheses. try to change to to see what's happening. then tou may return to as it has especial meaning, it's not an opening parens ar all!
Code: Select all
echo(…
Code: Select all
echo/…
Code: Select all
echo(…
-
- Posts: 240
- Joined: 04 Mar 2014 11:14
- Location: germany
Re: mutiple validation in same do not working
Hello,
closing parenthesis is a special character.
Try to Escape every special character with a caret.
Phil
closing parenthesis is a special character.
Try to Escape every special character with a caret.
Code: Select all
echo( (this^) ^& that ^<are^> "escaped" ^| signs