title: Passing Command Line Arguments that contain hyphens
body: <p>I am attempting to pass command line arguments to a console application(Computer Language Compiler). </p>
  
  <p><strong>My Problem:</strong> The argument I am passing contains a <em>hyphen</em> character and it is causing an error "- was unexpected command/character".</p>
  
  <p>This is the command line argument I am using(12d.exe is the application/compiler):</p>
  
  <pre><code>12d.exe "C:/Staff - Name/abc.4dm"
  </code></pre>
  
  <p>It seems that its looking at the '-' as a command and not part of a directory/string. Maybe I can use a batch file to perform this command line and reformat the directory path? You know how like in HTTP POST I can use urlencode to format post commands, maybe I can encode the command line in a batch file.</p>