delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/26/13:55:31

Date: Tue, 26 Aug 1997 19:55:54 +0200
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Subject: Re: PLEASE HELP!!!!
To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
Cc: djgpp AT delorie DOT com
Message-id: <01IMWOLOC7X68WX7LN@mail>
Organization: RWTH Aachen, III. physikalisches Institut B
Newsgroups: comp.os.msdos.djgpp

In article <5totbp$ps0 AT freenet-news DOT carleton DOT ca> you wrote:
[...]
> Regarding rebooting after changing the autoexec.bat: that isn't actually
> necessary. Just manually run from the command line each line you added.
> I.e., insert the set djgpp and path %path%;blah blah bin lines into
> autoexec.bat, save the changes and exit whatever editor, then type the
> same two lines at the C:\> prompt.

Sorry, Paul, but that won't work for the 'set path' line, because
command.com doesn't expand '%path%' if it's not in a batch
file. You'll have to one of these

a) type 'path c:\djgpp\bin;c:\windows;c:\dos;{...some others...}'
   completely.
b) call 'autoexec.bat' from the running shell, which will cause
   several problems by reloading TSR's that are already active.
c) Use on of the many available utilities to modify the environment
   in place. I, for one, do have programs like 'addpath' and 'envedit'
   installed for that purpose.

Not that rebooting DOS would cause enough trouble to work around it
too painfully :-) In case of doubt, just boot and be done.

HBB

- Raw text -


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