9531fost@ucsbuxa.ucsb.edu (01/10/91)
Does anyone know of a way to automatically change your
config.sys file without having to edit it each time and
reboot. I want to be able to use different entries in my
config.sys file when running certain programs and TSRs, and
be able to remove these entries to regain RAM when they
are no longer needed.
Thanks
Markee Foster 9531fost@ucsbuxa.bitnet
University of CA Santa Barbara
IS IT FINALLY RAINING HERE, OR DID SOMEONE LEAVE
THE FAUCET RUNNING?town@hpspkla.spk.hp.com (Brian R. Town) (01/10/91)
>Does anyone know of a way to automatically change your >config.sys file without having to edit it each time and >reboot. I want to be able to use different entries in my >config.sys file when running certain programs and TSRs, and >be able to remove these entries to regain RAM when they >are no longer needed. > >Thanks >Markee Foster 9531fost@ucsbuxa.bitnet > University of CA Santa Barbara I have seen and heard of programs which allow you to reload different configurations. I personaly do this simply by using a batch file. I have a directory C:\REBOOT with files in it named like this: WINDOWS.CNF WINDOWS.XEC NORMAL.CNF NORMAL.XEC etc. etc Next, I have a batch file which takes one parameter (which is the desired configuration to load. I don't have it handy (as I am not at home), but I think it looks like this: COPY C:\REBOOT\%1.CNF C:\CONFIG.SYS COPY C:\REBOOT\%1.XEC C:\AUTOEXEC.BAT C:\UTILS\REBOOT.COM All you have to type is the name of this batch file (mine is reboot.bat) followed by the configuration name. Example: REBOOT WINDOWS Note: The last line in the batch file runs a little program which performs the reboot, so that I don't have to do the ctrl-alt-del. I hope this helps. Brian Town