Solved

Adding a carriage return in a batch file

Posted on 2009-05-07
2
5,096 Views
Last Modified: 2012-05-06
I have a batch file that I have written and it is currently working. I however would like to make the test look a little better on the screen as the batch file runs.

Currenly the lines all run one on top of the other. I would like to add some carriage returns after individual commands to break up the data.

This should be easy I just cant find an answer.
0
Comment
Question by:Joseph Daly
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
goss34 earned 500 total points
ID: 24326941
Hi xxdcmast,

If you try this it should do what you want:

code code code
echo.
code code code

If that doesn't work you might need to add this at the top of your batch file:

@Echo Off

Give it a go,
Cheers
Dan
0
 
LVL 35

Author Closing Comment

by:Joseph Daly
ID: 31579042
Perfect
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show, step by step, how to integrate R code into a R Sweave document
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question