output a line in a batch *without* crlf


output a line in a batch *without* crlf

Published on Sat 05 Jul 2008 09:07 ( 2 years, 1 month ago)
Learning notes

Learned from here: Progressive Dots, this is a MSFTer who developing LiveMesh.

set /p CRLF=.<NUL

try this in command window, you will get a ''." output.  "set /p" is used for get a input with a specified prompt, "<NUL" make it return immediately, so "set /p CRLP=.<NUL" generate a dot without carriage return.

It's a good trick, but as always, I hate .BAT files...


Related posts:


Search related in web:

Custom Search

RSS Feed

One click subscribe this blog in your google reader!

Be social!


Want to say something here? please sign in



Blog posts link to this page
What are friends tweeting?
Tags cloud
Monthly Archives