Find knowledge base article(s) by searching for keywords in the title e.g. type linux in the search box below
Find knowledge base article(s) by browsing the subject categories of articles
Technology quick references, cheatsheets, user manuals etc.
Shop Online through ShopifyLite
Tutorials on various IT applications.
Search Title    (UL:0 |SS:f)

Software >> OS >> Windows >> Command Line >> For >> What is the difference in for syntax in command line and batch files

In batch files variables should be referred as %%%%variable On command lines variables should be referred as %%variable eg. to loop using for In command line @FOR /L %%a in (1,1,254) DO @echo 172.31.5.%%a In batch file @FOR /L %%%%a in (1,1,254) DO @echo 172.31.5.%%%%a
[ © 2008-2021 myfaqbase.com - A property of WPDC Consulting ]