output a line in a batch *without* crlf
Published on Sat 05 Jul 2008 09:07 ( 2 years, 1 month ago)
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:
- To "refresh" a SqlDataSource.
- asp:ControlParameter vs asp:FormParameter
- output a line in a batch *without* crlf
- Write code with no getters???
- Dump SQL Server Express' DB Schema
- My suggestions on Web2py's route design
- Good comparing of GAE Data Store .vs. Amazon Simple DB .vs. MS SSDS
- Very good articles on MVC, MVP and more.
- Presenter First approach in MVP
- ASP.NET MVC Preview 3 just released
Search related in web:
Custom Search