Mail Archives: djgpp/2000/02/07/02:44:04
Am Sun, 06 Feb 2000 22:01:28 +0000 schrieb Richard Dawe
<rich AT tudor21 DOT net> :
>> I did not understand the need for reboot in the first place .Why
>> not run autoexec.bat after the addition of the necessary path and
>> environment variable. It worked perfectly with my system.
>
>Surely that depends entirely on what autoexec.bat does! What if you have a
>line to run a program that you only want to run at start-up?
Yep, you are correct. I do have the habit to just try it. In
Linux this attitude is lethal, in MS-DOS it makes life easier;-)
>call c:\djgpp\djgpp.bat
>and then in djgpp.bat:
>SET PATH=%PATH%;c:\djgpp
>SET DJGPP=c:\djgpp\djgpp.env
>change paths as appropriate.
Why not modify autoexec.bat and additionally set the new path and
the DJGPP environment variable during the installation procedure.
Then the user (or even the installation script) can test if he
entered the correct path without re-booting, and the installation
procedure may give him a second chance,-).
--
Borland Turbo-C legal + kostenlos (1MB Download):
http://www.c-for-dummies.com/compilers/
- Raw text -