Path: 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 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 , 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 ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~