Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!decwrl!purdue!gatech!udel!burdvax!bbking!rmarks From: rmarks@KSP.Unisys.COM (Richard Marks) Newsgroups: comp.sys.ibm.pc Subject: Re: Interactive BAT files: HOW? Keywords: Interactive, batch, 3.3 Message-ID: <634@bbking.KSP.Unisys.COM> Date: 3 Oct 88 13:25:33 GMT References: <985@esunix.UUCP> <3251@nicmad.UUCP> Distribution: na Organization: Unisys/Knowledge Systems Organization, Frazer, PA Lines: 15 In article <3251@nicmad.UUCP> brown@nicmad.UUCP (Mr. Video) writes: >In article <985@esunix.UUCP> angerhof@esunix.UUCP (Norman Angerhofer) writes: ><(such as who I am), and based on the answer, perform a system setup. > >MS-DOS does not allow interactive sessions in .BAT files. To give it that >feature would require the use of a utility like Norton's ASK. It asks the >question and put the answer in the environment. Last winter I posted a program, SETENV, to comp.binaries... that let you ask a question and then set an environment variable to the response. Richard Marks rmarks@KSP.unisys.COM