Path: utzoo!mnetor!uunet!husc6!rutgers!iuvax!silver!creps
From: creps@silver.bacs.indiana.edu (Steve Creps)
Newsgroups: comp.sys.ibm.pc
Subject: Re: Fun with RAM disks (was Re: Improve response time with paths)
Message-ID: <509@silver.bacs.indiana.edu>
Date: 10 Dec 87 21:43:36 GMT
References: <15000048@silver> <1199@lznv.ATT.COM> <2263@techunix.BITNET> <634@astroatc.UUCP> <1211@lznv.ATT.COM>
Reply-To: creps@silver.UUCP (Steve Creps)
Organization: Indiana University Computer Science Department
Lines: 24


   One alternative to using floppy disks for different configurations is
to use batch files instead. You could have one copy of config.sys for
each different configuration you'll need. You could have them called, for
example, config.cc (for compiling, maybe use a bigger ramdrive), config.gam
(setting up when you'll need to play games (need to?)), and so on. Then
you could have a file boot.bat which accepts a parameter (e.g. "cc" or "gam"
etc.) and copies the corresponding config file to config.sys, then reboots.

e.g. boot.bat:

copy config.%1 config.sys
copy ___.%1 ___.ext  (any other files specific to the config, maybe autoexec)
reboot      (I've seen a few versions of this around)

Now to set up for compiling, just say "boot cc".

I don't actually do this myself, since I seldom need to change my
configuration, but it's an idea.

-	-	-	-	-	-	-	-	-
Steve Creps on the VAX 8650 running Ultrix 2.0-1 at Indiana University.
	creps@silver.bacs.indiana.edu
"F-14 Tomcat! There IS no substitute."