alex_bn_lee

导航

[900] Print an empty line of CMD batch scripts

Use the echo. command to print an empty line.

@echo off
echo This is a line of text
echo.
echo This is a new line of text

This will produce the output:

This is a line of text

This is a new line of text

Using echo. is a common method for printing newline characters in batch scripts to create visual separation between lines of text. 

posted on 2023-10-10 08:55  McDelfino  阅读(11)  评论(0)    收藏  举报