title: Why does MSYS2 not parse a batch file on Windows?
body: <p>In order to avoid retyping a long command to MSYS for configuration, I usually use a batch file to store the command looks like below:
  <code>
      ./configure \
      --arch=x86_64 \
      --target-os=win64 \
      --toolchain=msvc \
      --enable-cross-compile \
      --enable-gpl \
      --disable-debug \
      --enable-shared \
  </code></p>
  
  <p>This way works well with MSYS. But when I ran the batch file in MSYS2, it traced out many error messages like:</p>
  
  <p><code>
      '.' is not recognized as an internal or external command,
      operable program or batch file.
      '--arch' is not recognized as an internal or external command,
      operable program or batch file.
      etc...
  </code></p>
  
  <p>Can anyone explain me what the cause is?</p>