delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/14/19:55:19

From: Roberto Henriquez Laurent <shl24634 AT alumnos DOT inf-cr DOT uclm DOT es>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: After installing djgpp win95 can't find win.com? help please
Date: Fri, 14 Mar 1997 16:37:53 +0100
Organization: Universidad de Castilla-La Mancha
Lines: 51
Message-ID: <332970D1.2425@alumnos.inf-cr.uclm.es>
References: <33299fb8 DOT 1095092 AT news DOT minn DOT net>
Reply-To: shl24634 AT alumnos DOT inf-cr DOT uclm DOT es
NNTP-Posting-Host: 161.67.36.27
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


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