🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #2656

Re: Autoexec.bat prob: take two

#2656
From: Harry Pulley
Date: Fri, 12 Oct 1990 14:23
16 lines
1394 bytes
Why don't you place a PAUSE command in your AUTOEXEC.BAT at the point where you
wish to continue or abort the batch file.  The PAUSE command will ask the user
to "Hit any key to continue..." or something similar.  If the user then hits 
<CTRL-Break>, they will be asked "Terminate batch job? (Y/N)" or something of
that nature.  If the user then types "y", the batch file will stop, and they
will be in DOS.  With a keyboard that has a buffer, you could strike a key
before the file executes if you know that you want it to run to completion 
without waiting for the prompt.


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~     HCPIV (2b||!2b)     ~        Harry Pulley        ~   harry@aeshq.UUCP   ~ 
~    Computo, ergo sum    ~     Environment Canada     ~     TOR, ON, CA      ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Technical Details
Message-ID: <783@aeshq.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!news-server.csri.toronto.edu!torsqnt!lethe!geac!aeshq!harry
References: <3936.27135c52@cc.curtin.edu.au> <744@demott.COM> <10889@hubcap.clemson.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!news-server.csri.toronto.edu!torsqnt!lethe!geac!aeshq!harry
From: harry@aeshq.UUCP (Harry Pulley)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Autoexec.bat prob: take two
Summary: An even simpler solution...
Message-ID: <783@aeshq.UUCP>
Date: 12 Oct 90 14:23:09 GMT
References: <3936.27135c52@cc.curtin.edu.au> <744@demott.COM> <10889@hubcap.clemson.edu>
Organization: AES Headquarters, Environment Canada, Toronto, Canada
Lines: 16