Solved

Adding a carriage return in a batch file

Posted on 2009-05-07
2
4,933 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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

Suggested Solutions

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

751 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