title: Command: for | It won't accept my variable in skip=%var% option
body: <p>Well, I am kinda stuck on the following part of my code.
  This program will count the number of lines in the file usernames_list.txt. On each line there is a name of a folder I want to enter. I want that program to enter each folder in my list, create a file called test_1 and then go to it's parent folder. This should be reapeated until it reaches the end of the list.
  Am I doing it right? :/
  For some reason the "skip" option won't accept my variable.</p>
  
  <pre><code>    for /f %%C in ('Find /V /C "" ^&lt; usernames_list.txt') do set lines=%%C
      set times=0
      set /A skip_value=%lines%-(%lines%-%times%)
      :redo
      FOR /F "skip=%skip_value%" %%b IN (usernames_list.txt) DO (
      cd %%b
      echo &gt; test_1
      cd ..
      set /A times=%times%+1
      if /i {%times%}=={%lines%} (goto continue)
      goto redo
      )
      :continue
      pause
  </code></pre>