Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!gatech!amd!reeves From: reeves@amd.AMD.COM (JR) Newsgroups: comp.sys.ibm.pc Subject: Re: ECHO blank line? Message-ID: <4323@amd.AMD.COM> Date: Wed, 12-Aug-87 14:35:43 EDT Article-I.D.: amd.4323 Posted: Wed Aug 12 14:35:43 1987 Date-Received: Sat, 15-Aug-87 01:02:48 EDT References: <278@laticorp.UUCP> Reply-To: reeves@amd.UUCP (JR) Organization: Advanced Micro Devices Lines: 42 Keywords: echo, blank In article <278@laticorp.UUCP> sarah@laticorp.UUCP (Sarah Groves Hobart) writes: > >Does anyone know the definitive way to get ECHO to echo a blank line? >(That is, the way to get ECHO to echo a blank line under just about >any version of DOS, rather than echoing "ECHO IS OFF" under some versions >and echoing a blank line under others.) > >I have tried "ECHO " (ECHO, then one space), "ECHO " (ECHO, then two spaces), >"ECHO ." (ECHO, space, period), and "ECHO" (ECHO, no arguments at all). All >of these cause one version or another of DOS to echo something rather than >a blank line. > >I am mainly concerned with 3.0 and above, but would like it to work with >2.1 and above. I've been working with Sperry DOS, PC-DOS, and MS-DOS. > >Thanks in advance! > >Sarah Groves Hobart To ECHO a blank line use the HEX code FF after the echo (You can enter a 255 by holding the ALT key and typing 2 5 5 This will only work with some editors) As a related note I have used this feature to create directories that seem to be inaccesible to the novice user. If you create a directory called for instance TEST<255> where <255> is the HEX FF it will look as if the directory is simply TEST. Actually to move to the dir you need the FF Might be handy for some people. J. Reeves