Article View: comp.sys.ibm.pc
Article #25848Re: BATCH files that do not echo
From: James Deibele
Date: Wed, 23 Mar 1988 04:35
Date: Wed, 23 Mar 1988 04:35
25 lines
1344 bytes
1344 bytes
I assume that the original poster is trying to write a batch file that
is semi-"pretty" --- clears the screen, moves the cursor down a few lines,
then prints some message like "Going to format your hard drive now. Y'all
sure y'all want to do this?" The easiest way I know of to do that is to
use ECHO Alt-255. That's done by holding down the Alt key and pressing 2,
5,5 on the numeric keypad. Works with all DOS's that I've used (2.1 - 3.21).
Sample fragment:
echo off
cls
echo (alt-255)
echo (alt-255)
echo Hi. I'm going to destroy everything on your hard disk.
echo If you don't want to do this, press Ctrl-Break.
pause
format C:
etc.
--
James S. Deibele jamesd@qiclab or jamesd@percival
TECHBooks: The Computer Book Specialists (800) TECH-BKS
3646 SE Division Portland, OR 97202 (503) 238-1005
TECHBooks One BBS (#1:105/4.0); 3/12/24 (503) 760-1473
Technical Details
Message-ID:
<1178@percival.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!mit-eddie!uw-beaver!tektronix!reed!percival!jamesdReferences:
<3aee6925.44e6@apollo.uucp> <2412@bsu-cs.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!mit-eddie!uw-beaver!tektronix!reed!percival!jamesd From: jamesd@percival.UUCP (James Deibele) Newsgroups: comp.sys.ibm.pc Subject: Re: BATCH files that do not echo Message-ID: <1178@percival.UUCP> Date: 23 Mar 88 04:35:25 GMT References: <3aee6925.44e6@apollo.uucp> <2412@bsu-cs.UUCP> Reply-To: jamesd@percival.UUCP (James Deibele) Organization: Percy's UNIX, Portland, OR. Lines: 25