🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.batch.nt
Article #1

Re: Automatically add <enter> to command

#1
From: R.Wieser
Date: Mon, 27 Jul 2026 19:12
23 lines
1866 bytes
Robert,

> In the good old DOS days there used to be a way to use "echo" and/or 
> "more" to automagically enter via piping or redirecting <enter> after a 
> command, which
> is useful to let a bat file run uninterrupted. I've gone through dozens of 
> old bat files, but cannot find any examples of the technique. :(
>
> Can anyone give me a clue?

I can.  Is a 4x4 good ? How long does it need to be (ref: clue-bat) :-)

But the answer is simple : echo an empty string.  The easiest way to do that 
is the below :

echo. |time

(notice the dot directly after the "echo"

Regards,
Rudy Wieser

Technical Details
Message-ID: <1148aid$3f7eo$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <114821a$3bhik$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: "R.Wieser" <address@is.invalid>
Newsgroups: alt.msdos.batch.nt
Subject: Re: Automatically add <enter> to command
Date: Mon, 27 Jul 2026 21:12:01 +0200
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <1148aid$3f7eo$1@dont-email.me>
References: <114821a$3bhik$1@dont-email.me>
Injection-Date: Mon, 27 Jul 2026 19:12:14 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3644888"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18E2MrZMElHtT53e4/wy11WKxLGuby9MDAWLKLgbEb+Bg=="; posting-host="f191a0aa9c5f42708f3d3125eaba3f17"
Cancel-Lock: sha1:J8mZj8ZxAYI9jzz5L6MlyEmaATk= sha256:Q5nKmcbVHySbLM10FzNIr/mSR+jHl9HLNJDw2hoGK+c=
	sha1:keP5YDjz3BzY44G+alWNlZ8iQ1o= sha256:slgxn+Uc4FbRJS+M4b24pe9Pvw1YG5u42SMWKIl+d0E=
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Response
X-Priority: 3
X-MSMail-Priority: Normal