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

How can we post XML strings along with text strings in iOS -

How to run C# code using mono without Xamarin in Android? -

c# - cefsharp app remember password option -