Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you keep commands from echoi

Status
Not open for further replies.

mikevh

Programmer
Apr 23, 2001
1,033
US
How do you keep commands from echoing as you type them at the command prompt? I was sure it was "echo off" (and "help echo" seems to support this), but all that seems to do is make the command prompt disappear --
it apparently has no other effect. Your commands still appear as you type them, and output still appears as normally.

Reason I ask is someone else asked me and I confidently told them "echo off", then was shocked to find this didn't work. (Last time I tried it was probably DOS 3-point-something.)

This is on Win XP [Version 5.1.2600].
Thanks.
 
There is no command line directive to suppress the echoing of keyboard input. In a .bat or .cmd line you can use the echo off command; the in-line suppression command symbol "@"; or carefully use the CTTY NUL redirection commamnd. But not at a command line.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top