title: cscript - print output on same line on console?
body: <p>If I have a cscript that outputs lines to the screen, how do I avoid the "line feed" after each print?</p>
  
  <p>Example:</p>
  
  <pre><code>for a = 1 to 10
    WScript.Print "."
    REM (do something)
  next
  </code></pre>
  
  <p>The expected output should be:</p>
  
  <pre><code>..........
  </code></pre>
  
  <p>Not:</p>
  
  <pre><code>.
  .  
  .
  .
  .
  .
  .
  .
  .
  .
  </code></pre>
  
  <p>In the past I've used to print the "up arrow character" ASCII code.  Can this be done in cscript?</p>
  
  <p><strong>ANSWER</strong> </p>
  
  <p>Print on the same line, without the extra CR/LF</p>
  
  <pre><code>for a=1 to 15
    wscript.stdout.write a
    wscript.stdout.write chr(13)
    wscript.sleep 200
  next
  </code></pre>