@echo off
echo Next line is empty:
echo.
echo Press any key to continue...
Same result:@echo off
echo Next line is empty: & echo.
echo Press any key to continue...
And in one line:@echo off
echo Next line is empty: & echo. & echo Press any key to continue...
Good
ReplyDelete@echo off
Delete:: New line
set "NL=&echo:"
color 2F
(
ECHO ._%time:~0,8%
ECHO [ SAMPLE _ FOR New LINE ]
ECHO LINE 1
ECHO LINE 2
ECHO LINE 3
)
:: OR Using "NL" definition
ECHO ._%time:~0,8% %NL%[ SAMPLE _ FOR New LINE ]%NL%LINE 1%NL%LINE 2%NL%LINE 3
:: wait
ping 0 -n 8 > nul
@echo off
Delete:: New line
set "NL=&echo:"
color 2F
(
ECHO ._%time:~0,8%
ECHO [ SAMPLE _ FOR New LINE ]
ECHO LINE 1
ECHO LINE 2
ECHO LINE 3
)
:: OR Using "NL" definition
ECHO ._%time:~0,8% %NL%[ SAMPLE _ FOR New LINE ]%NL%LINE 1%NL%LINE 2%NL%LINE 3
:: wait
ping 0 -n 8 > nul