cscript - print output on same line on console?

Posted by Guy on Stack Overflow See other posts from Stack Overflow or by Guy
Published on 2010-05-24T14:29:29Z Indexed on 2010/05/24 14:31 UTC
Read the original article Hit count: 351

If I have a cscript that outputs lines tothe screen, how do I avoid the "line feed" after each print?

Example:

for a = 1 to 10
  print "."
  REM (do something)
next

The expected output should be:

..........

Not:

.
.  
.
.
.
.
.
.
.
.

In the past I've used to print the "up arrow character" ASCII code. Can this be done in cscript?

© Stack Overflow or respective owner

Related posts about console

Related posts about ascii