Comment in bat file

broken image

Also, by using EnableDelayedExpansion you can achieve the blank line. To echo a new line in a batch file, you can create a new line character as ^^^%NLC%%NLC%^%NLC%%NLC% and echo it or use echo or echo( or echo/ or echo+ or echo= in a single line to insert a blank line in between your code. We will consider 2 aspects of printing a new line in batch script.

broken image
broken image

If you are looking for a solution to echo a new line in batch file, this article explains various ways to insert a new line in a command prompt using a batch script.