www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/27/13:39:42

Newsgroups: comp.os.msdos.djgpp
From: Manfred Heumann <mheumann AT hrz DOT uni-bielefeld DOT de>
Subject: Re: how to get rid of autoexec.bat
Sender: news AT hermes DOT hrz DOT uni-bielefeld DOT de (News Administrator)
Message-ID: <E69sCG.KB4@hermes.hrz.uni-bielefeld.de>
Date: Thu, 27 Feb 1997 16:26:40 GMT
References: <5efatv$juq AT chaos DOT kulnet DOT kuleuven DOT ac DOT be> <Pine DOT LNX DOT 3 DOT 95 DOT 970220204201 DOT 2335D-100000 AT ug2 DOT sthughs DOT ox DOT ac DOT uk>
Nntp-Posting-Host: dee.hrz.uni-bielefeld.de
Organization: Universitaet Bielefeld, Rechenzentrum
Lines: 34
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <Pine DOT LNX DOT 3 DOT 95 DOT 970220204201 DOT 2335D-100000 AT ug2 DOT sthughs DOT ox DOT ac DOT uk>, Nathan Phillips <nathan AT ug2 DOT sthughs DOT ox DOT ac DOT uk> wrote:
> On 19 Feb 1997, koen wrote:

> > I'm using the menu command in config.sys, so I'm able to start the computer in 
> > two different modes(much memory or more speed). But there's only one 
> > autoexec.bat so after the config.sys, the computer uses always the same Autoexec file 
> > (whatever choice I made in the menu). 
> > 
> > Is there a way to let the computer jump to another bat file?

There are two ways to solve your problem:

1. Replace your autoexec.bat with two other batch files with
   the switch in the shell command. The help system of DOS will
   explain you how to do this.

2. Just like in your config.sys you can place labels in your autoexec.bat
   with the same names you used in your config.sys. But the label-syntax
   in autoexec is different from the syntax used in config: while in your
   config.sys your labels look something lilke this:" [option1] "
   they should look like " :option1 " in your autoexec.bat.

Hope I could help you, 

  good luck!
  
   
    

-- 
  Manni Heumann                                         
 
   e-mail:       mheumann AT post DOT uni-bielefeld DOT de                
 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019