Mail Archives: djgpp/1997/03/14/19:55:19
T.K. wrote:
>
> I probably sound like an idiot with a simple problem, but I'm new at
> this and still learning. When you install DJGPP it tells you to add
> the following 2 lines to your autoexec.bat
>
> set DJGPP=C:\DJGPP\DJGPP.ENV
> set PATH=C:\DJGPP\BIN;%PATH%
>
> after adding these two lines I have problems loading Win95. It say's
> it can't find the file win.com, which is the program that starts
> win95. I have to go to the windows directory and type win.com from
> dos to start windows now. When I removed the two lines above from my
> autoexec.bat win95 loaded like it's supposed too. Is there a trick to
> fixing it? like maybe moving win.com to my djgpp directory???
>
> any help will be great!
> thanks
Instead of changing your PATH from Autoexec.bat, maybe you should try to
create a DOS box which and an accompanying .BAT file which made the
changes needed to work with DJGPP. I have done so and it's as simple as
this:
- Copy the shortcut which gives you a DOS session and rename it.
- In the "program" sheet of the properties of this shortcut, fill in
the "batch file" field with the name of a batch file like "setdj95.bat"
which should be in your path.
- This batch file is which makes the changes:
PATH=%PATH%;c:\cc\bin (or wherever you have your DJGPP binary files)
call setdjgpp c:\cc c:/cc
I find this solution useful because I use DJGPP from both W95 and from
MS-DOS 6.2, and have two different "setdjgpp.bat" files because my temp
file (when I use DOS) is located in a Ramdisk (as suggested in the FAQ)
but under Windows95, I place this directory in the HD. So I need to use
different djgpp.env files and this is a convenient way to do it without
modifying the autoexec.bat which is executed for W95.
Hope you find this useful... :)
--
La neurona autora de este mensaje
es propiedad de:
+-----------------------------------------------+
| Roberto Henriquez Laurent |
+-----------------------------------------------+
| mailto:shl24634 AT alumnos DOT inf-cr DOT uclm DOT es |
+-----------------------------------------------+
Y no se hace responsable de las opiniones que
hayan sido vertidas por otras neuronas.
- Raw text -