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

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -