batch file - I've already tried ways But they won't work! it says "a not expected at this time"! -


here's code:

@echo off color 0a set a=0 /l %a in (0,1,2) command ( echo ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ echo Û°°°                Û echo ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ echo loading - 2% ) 

it's cmd that's outputting not expected @ time!

to use for variables in batchfile, have double percent signs (and command not part of syntax, tells insert command):

for /l %%a in (0,1,2) (   echo ----------   echo |  note  |   echo ---------- ) 

a block of commands (enclosed in parantheses) qualifies "command".


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -