An expression (including assignment expressions) or variable declaration evaluated once before the loop begins. Typically used to initialize a counter variable. This expression may optionally declare new variables with var or let keywords. Variables declared with var are not local to the loop, i.e. they are in the same scope the for loop is in ...
FOR Synonyms: 43 Synonyms & Antonyms for FOR | Thesaurus.com
2. used for stating the purpose of an object or action. We use the basement for storage. The red button is for turning the machine off. 3. used for saying a length of time or a distance. 3a. used for saying how long something lasts or continues. There have been drought conditions for the last two summers.
FOR - Loop through a set of files in one folder. FOR /R - Loop through files (recurse subfolders) . FOR /D - Loop through several folders. FOR /L - Loop through a range of numbers. FOR /F - Loop through items in a text file. FOR /F - Loop through the output of a command. Parameters/arguments %~ options.