Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!balrog!ctron.com From: dj@ctron.com (DJ Delorie) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: AUTOEXEC.BAT/CONFIG.SYS swappers Message-ID: <1499@balrog.ctron.com> Date: 15 May 91 16:04:36 GMT References: <1991May15.151517.22723@aero.org> Sender: news@balrog.ctron.com Reply-To: dj@ctron.com Organization: None whatsoever Lines: 33 Nntp-Posting-Host: bragi In article <1991May15.151517.22723@aero.org>, pthomas@arecibo.aero.org (Peter L. Thomas) writes: > I'm looking for a program that swaps autoexec.bat and config.sys sets in > a painless fashion. The ideal program would: > > o Install itself as the first line in any config.sys > i.e. DEVICE=\sys\SWAPCFG.SYS > o Copy a new configuration into the config.sys and autoexec.bat files > o Issue a software reset I find this .BAT file useful: COPY C:\BOOT\%1.SYS C:\CONFIG.SYS COPY C:\BOOT\%1.BAT C:\AUTOEXEC.BAT (Uppercase used only to denote the file contents) I call the file "boot.bat". In my c:\boot directory: plain.bat plain.sys qemm.bat qemm.sys r32.bat r32.sys raw.bat raw.sys So I just enter "boot r32" and hit CTRL-ALT-DEL. Lots of TSR's trap the CTRL-ALT-DEL so they can clean up before rebooting, so I don't suggest trying to do it in software. Trust me, I tried. DJ dj@ctron.com