Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!dsac.dla.mil!dcsc.dla.mil!cze2529 From: cze2529@dcsc.dla.mil ( David E Gaulden) Newsgroups: comp.sys.ibm.pc Subject: Re: How do I ECHO a blank line from batch file? Keywords: batch file ECHO Message-ID: <789@dcsc.dla.mil> Date: 13 Apr 90 16:48:06 GMT References: <4522@mace.cc.purdue.edu> <746@sixhub.UUCP> <1990Apr10.035600.22405@clmqt.marquette.Mi.US> <2623BF52.22327@maccs.dcss.mcmaster.ca> Reply-To: cze2529@dcsc.dla.mil.UUCP ( David E Gaulden ) Distribution: na Organization: Defense Construction Supply Center, Columbus Lines: 19 In article <2623BF52.22327@maccs.dcss.mcmaster.ca> cs4g6ag@maccs.dcss.mcmaster.ca (Stephen M. Dunn) writes: >In article <1990Apr10.035600.22405@clmqt.marquette.Mi.US> strike@clmqt.marquette.Mi.US (Tim Bowser) writes: >$ ECHO. is for MS-DOS 3.3 and up. Having used DOS 3.2 for awhile, I >$know that trick doesn't work with it or lower (Sister swiped some of my >$batch files for use on her 2.11 based machine). > > It worked on MS-DOS 3.20 on my old machine. > Try using copy con to create your batch file. When a blank line is needed type ECHO followed by a and a F7. The batch file will look like this when typed in copy con. When run it will result in a blank line being transmitted to stdout. Don't know which versions of DOS this works under, but hasn't failed me yet. echo off echo This is a test echo ^@ echo End of test ^Z