title: How to save vbs in batch file one command in multiple lines
body: <p>I would like to save a vbs file in a batch file like this:</p>
  
  <pre><code>echo set shell = createobject("wscript.shell")
  wscript.sleep(1000)
  shell.sendkeys("blablabla")
  Shell.SendKeys "{Enter}"
  wscript.sleep(1000) &gt;"c:\folder\blablabla.vbs"
  </code></pre>
  
  <p>but the batch file doesn't work. If I do it like this(If I type the vbs code in one line):</p>
  
  <pre><code>echo set shell = createobject("wscript.shell") wscript.sleep(1000) shell.sendkeys("blablabla") Shell.SendKeys "{Enter}" wscript.sleep(1000) &gt;"c:\folder\blablabla.vbs"
  </code></pre>
  
  <p>then the vbs file doesn't work.
  So my question is: how can I save the vbs file correctly, without making the batch file think that I  want him to do multiple commands.</p>