Mail Archives: djgpp/1997/08/28/03:19:07
Paul Derbyshire <ao950 AT FreeNet DOT Carleton DOT CA> 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.
This does not work for the PATH statement, since variables used in that manner
(set PATH=%PATH%;c:\foo) are not evaluated when used from the command line. If
you want to dynamically add to your path, just write a small batch file
containing but one line:
PATH=%path%;%1
late\fw
- Raw text -