Mail Archives: djgpp/1997/07/06/11:53:18
You wrote
>every time I restart my computer and type "set" in the ms-dos window my
>two djgpp lines have disappeared.
>
>set DJGPP=C:\DJGPP\DJGPP.ENV
>set PATH=C:\DJGPP\BIN;%PATH%
>
>it says to put them in the autoexec.bat file but I just type them at the
>dos prompt, am i doing it wrong?
Well, you can type them at the dos prompt, BUT you will have to do it each
time you boot. If you run them in a Windows Dos box, you will have to repeat
it each time you open another Dos box. This is because changes to
environment variables go away each time whatever changed them exits. Bottom
line: If you add them to AUTOEXEC.BAT it will be done automatically and save
you a lot of time and trouble.
>Also, can i make my program run in a windows window and not a
>dos box?
A qualified yes. There is a package called RSXNTDJ which allows you to do
Windows programming with DJGPP. Windows programming, however, is less than
simple to learn. It is much simpler to program in DOS.
Nate Eldredge
eldredge AT ap DOT net
- Raw text -