Solved

Adding a carriage return in a batch file

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

When you receive another warning that your shared drive is almost full and you have asked your users to clean out old files again and again, here is a single command that may help. This command will place all the files that have not been used rec…
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…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

770 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