title: Sqlcmd Error "The filename, directory name, or volume label syntax is incorrect"
body: <p>I create a bat file for the first time, and have the following issue: my command is running just fine when I type it directly into the command prompt, but it's not running through the bat file I created. The script is:</p>
  
  <pre><code>@echo off
  sqlcmd -S DESKTOP-55JKCD5\SQLEXPRESS -i “C:\Users\Didi\Documents\SQL\test.sql” -o “C:\Users\Didi\Documents\SQL\output.csv” -s”,”
  </code></pre>
  
  <p>I get the following message from cmd:</p>
  
  <blockquote>
    <p>Sqlcmd: Error: Error occurred while opening or operating on file ôC:\Users\Didi\Documents\SQL\test.sqlö (Reason: The filename, directory name, or volume label syntax is incorrect).</p>
  </blockquote>
  
  <p>I can't understand what's wrong, provided that I don't have any issues when typing directly in cmd. </p>
  
  <p>I'm begging for your advice, guys! Bat files are totally new for me, apologies is asking a stupid question.  </p>