Path: utzoo!mnetor!uunet!husc6!cmcl2!nrl-cmf!ames!pasteur!ucbvax!ucsfcgl!cca.ucsf.edu!mis.ucsf.edu!simrin From: simrin@mis.ucsf.edu (Steve Simrin) Newsgroups: comp.sys.ibm.pc Subject: Re: Echo Off! Dammit! Message-ID: <1201@ucsfcca.ucsf.edu> Date: 24 Mar 88 21:02:54 GMT References: <2110@phoenix.Princeton.EDU> <149000020@inmet> Sender: root@cca.ucsf.edu Reply-To: simrin@mis.ucsf.edu.UUCP (Steve Simrin) Organization: UCSF Medical Information Sciences Lines: 15 In article <149000020@inmet> bloom@inmet.UUCP writes: > > With DOS 3.3 (don't know about earlier), lines in a batch file >that begin with the character '@' are not echoed. > > Therefore, if the first line is '@ECHO OFF', no lines are echoed >to the console. The following also works (sort of): echo off echo ^[[s^[[1A^[K^[[u where "^[" is an escape character. This "trick" works in DOS 2.0 + and requires ansi.sys.