title: ( was unexpected at this time - batch script
body: <p>I'm using the batch script below and get an error </p>
  
  <blockquote>
    <p>( was unexpected at this time.</p>
  </blockquote>
  
  <p>I know that the problem is in the first line but I don't understand what is wrong.
  Any ideas ?</p>
  
  <p>script:</p>
  
  <pre><code>IF [%1]==[] (
      :LOOP1
      SET /P isDefault=Value Missing, do you want to use default values [1,1,10,Local      Area Connection 2]?[y/n]
      IF %isDefault%==y (
          SET from=1
          SET step=1
          SET to=10
          SET lan="Local Area Connection 2"
          GOTO :USERLOOP
      )
      IF %isDefault%==n GOTO :END
      GOTO :LOOP1 
  )
  </code></pre>