Introduction: Batch Looping Text
Hi, this is my instructable on how to create a text loop circuit in command prompt(batch).
If you like, please comment for more cool batch tricks!
Step 1: Step One
What you need:
Computer running windows 95 or later
Step 2: Let's Get Started
Firstly, create a new text file by going right click, new text file
Change the name-must be the name.bat
Accept the message box
Right click and go edit.
You should see Notepad.exe open up
Step 3: Creating the File
Type the first line:
title (can be what you like- this is what the file will be called in the title bar)
The title will look something like this
Step 4: The Looping
Write the next lines:
echo (what you would like to be repeated first)
ping localhost -n (a number, how long it will wait until is shows the next line) >nul
cls (this clears the screen for the next line)
echo (what you want to be repeated after the first line)
ping localhost -n (again a number) >nul
(repeat for as many lines as you want. However, leave out the line that says : a, - that is, don't put it again in the file or it wont work)
When you have all the lines you would like repeated, create this line:
(now save and exit)
Step 5: Test
Click on the file
The command box should open up
In it will be your First line of text, and it will be called whatever your title was
The text will loop continously, with intervals of how long you set it to.
Step 6: Thanks for Viewing This Instructable
Thank you for viewing this instructable. I hope you liked it and please subscribe/comment if you would like more cool batch tricks!
We have a be nice policy.
Please be positive and constructive.