title: How to use variable inside For /L Loop IN List ( Batch File Programming)
body: <p>I want to place a variable value in for loop IN list. the myvariable is obtained from the user input.</p>
  
  <p>Example:</p>
  
  <pre><code>for /L %%G IN (1 1 %myvariable%) DO command
  </code></pre>
  
  <p>If i use this syntax, the loop is never executed. Is it possible to assign IN list to for loop at runtime ?</p>
  
  <p>Please help me out.</p>