Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Adding a carriage return in a batch file

Posted on 2009-05-07
2
Medium Priority
?
5,314 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 2000 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

How Blockchain Is Impacting Every Industry

Blockchain expert Alex Tapscott talks to Acronis VP Frank Jablonski about this revolutionary technology and how it's making inroads into other industries and facets of everyday life.

Question has a verified solution.

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

How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
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…

670 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