🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.misc
Article #3538

Re: How to put CARRIAGE RETURN in Batch file

#3538
From: Al Dunbar
Date: Thu, 27 Jun 1991 03:37
24 lines
1336 bytes
In article <3060001@hparc0.HP.COM>, doug@hparc0.HP.COM (Doug Parsons) writes:
>I haven't tested this, but..
> 
>Create a file thus:
> 
>C:> COPY CON CR.      <-- copy from the console (kbd) to file called 'CR'.
>                      <-- hit Enter here, which puts a <CR> character in file
>Control-Z             <-- Press Control-Z here, to terminate input
> 
>(1) file copied.
>C:>
> 
>What you have done is created a 2 character file consisting of a CR and a
>control-Z (end of file marker).
> 
 
Funny, when I did this, my two character file contained a CR and
an LF instead of the ctl-Z.
 
 -------------------+-------------------------------------------
 Al Dunbar          | 
 Edmonton, Alberta  |  Disclaimer: "not much better than
 CANADA             |                  datclaimer"    
 -------------------+-------------------------------------------
Technical Details
Message-ID: <RN.1352@mts.ucs.UAlberta.CA>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!ccu.umanitoba.ca!herald.usask.ca!alberta!mts.ucs.UAlberta.CA!Al_Dunbar
References: <7130@disc.dla.mil> <3060001@hparc0.HP.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!ccu.umanitoba.ca!herald.usask.ca!alberta!mts.ucs.UAlberta.CA!Al_Dunbar
From: userAKDU@mts.ucs.UAlberta.CA (Al Dunbar)
Newsgroups: comp.os.msdos.misc
Subject: Re: How to put CARRIAGE RETURN in Batch file
Message-ID: <RN.1352@mts.ucs.UAlberta.CA>
Date: 27 Jun 91 03:37:39 GMT
References: <7130@disc.dla.mil> <3060001@hparc0.HP.COM>
Organization: MTS Univ of Alberta
Lines: 24