Search found 1 match

by .
31 Jul 2009 10:55
Forum: DOS Batch Forum
Topic: The character '^' at the end of line, escape what?
Replies: 1
Views: 4373

The character '^' at the end of line, escape what?

Code: Select all

@echo off 
echo a^
b
pause


The result is 'ab'.

I know there are two characters '<carriage return><line feed>' at the end of line.

My question is '^' escaped '<carriage return>' or both '<carriage return><line feed>'? and why displayed 'ab'? Thanks.