title: The filename, directory name, or volume label syntax is incorrect when running chained commands in Windows 10 CMD
body: <p>I'm trying to run a sequence of commands using 1 line command. The sequence in this example is simple</p>
  
  <p>'cd\;mkdir C:\Users\Admin\Documents\test'</p>
  
  <p>Individually, in command prompt, these commands work just fine, but when I try to execute the entire script, it gives me an error <code>The filename, directory name, or volume label syntax is incorrect</code></p>
  
  <p>The same sequence of commands runs just fine in powershell, but not in command prompt</p>
  
  <p>What could possibly be wrong here?</p>