Solved

Adding a carriage return in a batch file

Posted on 2009-05-07
2
4,477 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
2 Comments
 
LVL 3

Accepted Solution

by:
goss34 earned 500 total points
Comment Utility
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
Comment Utility
Perfect
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

I have published numerous articles here at Experts Exchange that present programs/scripts written in a language called AutoHotkey. Each of those articles has a brief paragraph describing where to download the product and how to install it. I have al…
Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
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.
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 …

763 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now