🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.misc
Article #4075

Re: DOS batch quirks and environment variable weirdness.

#4075
From: Systemes d'exploitation II
Date: Fri, 19 Oct 1990 01:11
44 lines
2513 bytes
In article <1990Oct18.032359.14406@csun.edu> abcscnuk@Twg-S5.uucp (Naoto Kimura (ACM)) writes:
>Actually, to be nit-picky, using ASCII 255 doesn't make ECHO output a
>blank line...  Nor is that character an 'unprintable'...  it just
>happens to be an INVISIBLE character -- like ASCII 0.  The unfortunate
>thing about these invisible characters is that that sometimes I've run
>into situations where they become visible, especially if you try to use
>a terminal as the console.
>
>One other annoying thing with the command processor is that there was no
>means by which you can get the date and time w/o getting a prompt.  Of
>course I've done things like make a file with only a newline (note you
>CAN'T create one by doing echo.>newline since it contains a space before
>the newline!) in a text editor and doing the following date<newline.
>
>]~  steve kite     -   hp-ptp!stevek   -   stevek@hp-ptp.HP.COM  ~
>]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>                //-n-\\			 Naoto Kimura
>        _____---=======---_____		 (abcscnuk@csuna.csun.edu)
>    ====____\   /.. ..\   /____====
>  //         ---\__O__/---         \\	Enterprise... Surrender or we'll
>  \_\                             /_/	send back your *&^$% tribbles !!

 MAAALTZ!! JOOL-YI CHOO!  (Klingon for "Maltz! Beam me Up!" - Kirk, ST III)


Blank lines in a .BAT? No problem....

ECHO:

...printing the date:

ECHO:|DATE 
 

Putting the date on a file :

ECHO:|DATE >> DATE.LOG

-- 
==== Etienne Tasse ====  |Internet:          |-"Why?"
Universite de Sherbrooke |se00@dmi.usherb.ca |-"Y is a letter, it won't
Quebec, Canada           |FidoNet:           |  respond."
(819) 820-0241           |1:167/116          |
Technical Details
Message-ID: <1990Oct19.011131.16893@DMI.USherb.CA>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!att!dptg!ulysses!andante!mit-eddie!mintaka!yale!cs.utexas.edu!uunet!clyde.concordia.ca!ganymede!terre.DMI.USherb.CA!se00
References: <1990Oct15.102216.15639@csun.edu> <1400055@hp-ptp.HP.COM> <1990Oct18.032359.14406@csun.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!att!dptg!ulysses!andante!mit-eddie!mintaka!yale!cs.utexas.edu!uunet!clyde.concordia.ca!ganymede!terre.DMI.USherb.CA!se00
From: se00@terre.DMI.USherb.CA (Systemes d'exploitation II)
Newsgroups: comp.sys.ibm.pc.misc
Subject: Re: DOS batch quirks and environment variable weirdness.
Keywords: In article <1400055@hp-ptp.HP.COM> stevek@hp-ptp.HP.COM (Steve_Kite) writes:
Message-ID: <1990Oct19.011131.16893@DMI.USherb.CA>
Date: 19 Oct 90 01:11:31 GMT
References: <1990Oct15.102216.15639@csun.edu> <1400055@hp-ptp.HP.COM> <1990Oct18.032359.14406@csun.edu>
Sender: usenet@DMI.USherb.CA (Pour courrier Usenet)
Organization: Universite de Sherbrooke, Quebec
Lines: 44
Nntp-Posting-Host: terre.dmi.usherb.ca