title: Combination of If and copy fails with syntax incorrect
body: <p>I'm trying to create a .bat file that uses a Parameter to define which copy it should do.</p>
  
  <p>I tried the if without copy (an echo instead) which worked fine, and I tried the copy command which also worked fine, but whenever I tried to Combine both in the .bat file I get:
  <strong><em>The Syntax of the command is incorrect.</em></strong></p>
  
  <pre><code>@echo off
  
  if "%1%"=="P1" (copy /y c:\Meldung\Mel_properties_p1.bak c:\Meldung\gsa.properties)
  if "%1%"=="P2" (copy /y c:\Meldung\Mel_properties_p2.bak c:\Meldung\Mel.properties)
  
  @echo on
  </code></pre>
  
  <p>Even after looking at the tech docu I didn't see anything that Looks wrong to me. Thusmy question: What is wrong here? And why? </p>