batch file - "_ was unexpected at this time" error -


i made batch file, , put in code:

if %var% == _,_,_ set var=%s1le1%,_,_ 

when tried batch file, said "_ unexpected @ time"

%var% = _,_,_ %s1le1% = b 

can me?

try :

if "%var%" == "_,_,_" set "var=%s1le1%,_,_" 

, standard delimiter , when found if after comparison expression taken end of if. quotes should compare whole strings.


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -