Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!gatech!prism!gt2341c From: gt2341c@prism.gatech.EDU (Webb Roberts) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: Autoexec/Config batch changer (?) Summary: Batch file to swap batch files Keywords: found Message-ID: <19126@hydra.gatech.EDU> Date: 4 Jan 91 04:21:10 GMT References: <1991Jan3.173437.8108@tc.fluke.COM> Organization: Georgia Institute of Technology Lines: 45 In article <1991Jan3.173437.8108@tc.fluke.COM> joshua@fluke.tc.fluke.com (John) writes: > >I have heard of a utility that allows selection of various configurations >of a system via different AUTOEXEC.BAT and CONFIG.SYS. It will select the >correct files and reboot for you automatically depending on choices. >Does anyone know of such a creature? Do you know where to get it? I suppose you could use someone else's executable to do that, but I prefer to do it myself... This is a batch file that I use to control my autoexec.bat's and config.sys's. It uses bmenu54.zip, available from simtel20 and wuarchive, but I suppose that you could use anything similar. I keep all of my autoexec.bat's and config.sys's uniquely named in c:\dat\cnf\, and just use this program (from anywhere) to swap them. I suppose you could also use an external utility to reboot the system after the batch file was finished (but I prefer to do that myself). @echo off bmenu 5 5 -7 7 15 "System to install" 4Dos Dos "Waffle local" "Waffle BBS" DESQview "Waffle DESQview" if errorlevel 6 goto wafdv if errorlevel 5 goto dv [etc...etc...] if errorlevel 1 goto 4dos goto end :wafdv copy c:\dat\cnf\wafdv.bat c:\autoexec.bat copy c:\dat\cnf\wafdv.sys c:\config.sys goto end :dv copy c:\dat\cnf\dv.bat c:\autoexec.bat copy c:\dat\cnf\dv.sys c:\config.sys goto end [etc...etc...] :4dos copy c:\dat\cnf\4dos.bat c:\autoexec.bat copy c:\dat\cnf\4dos.sys c:\config.sys goto end :end -- Good evening, and welcome to the Arthur Ludlow Memorial Baths, Newport, for this year's finals of the All-England Summarize Proust Competitition. Webb Roberts--gt2341c@prism.gatech.edu, webb@dali.gatech.edu