title: Using Gitlab CI/CD to run command batch file
body: <p>Using Gitlab CI/CD to run command batch file.</p>
  
  <p>I have a batch file stored locally in my system. Now I want to run it from GitLab CI/CD YAML file.
  I used the below format to run the YAML</p>
  
  <pre class="lang-yaml prettyprint-override"><code>Windows:
    script:
      - call: ci\CheckStatus.bat init
      - call: ci\CheckStatus.bat build
    tags:
      - windows
  </code></pre>
  
  <p><strong>But it is giving me below error</strong></p>
  
  <pre><code>Found errors in your .gitlab-ci.yml:
  jobs:windows:script config should be a string or an array containing strings and arrays of strings
  </code></pre>
  
  <p>How to resolve this and call my batch file to execute.</p>