ProProfs - The Knowledge FREEway
CompTIA Home
 Network+ Exam
A+ Certification
Study Guide
Articles
Active Membership
Practice Questions
Practice Exams
Software
Tutorials & Tips
Cram Sheets
A+ Forum
A+ Wiki
A+ WebSchool
A+ Flashcards
A+ Quiz School
APlus Jobs
A+ Book Deals
Deals On Ebay
 
Google

A+ Study Guide: Command Line & OS Utilities

ECHO
Opens More Info in a new browser window
   Click on the image to zoom

Used when you need to repeat the text typed in back to the screen and / or it can be used to echo to a peripheral on the computer such as a COM port.

Syntax

ECHO [ ON | OFF ]

Parameters

ON | OFF

Specifies whether to turn the command-echoing feature on or off.

To display the current echo setting, use the ECHO command without a parameter.

Message Specifies text you want MS-DOS to display on the screen.

Examples

Echo echo this is a test > test.bat

This would put in the file test.bat echo this is a test, then when ever you would type in test it would type in echo this is a test.

Echo testing the echo string

This would type again on your screen testing the echo string then take you back to the prompt.

 

Google   

 \n
   
Home  |  Site Map  |  Contact
Copyright © 2005-2010 ProProfs.com - Privacy & Terms