www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/13/05:21:51

Date: Fri, 13 Sep 1996 11:55:40 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: iftikhar ahmed <i DOT ahmed AT postoffice DOT worldnet DOT att DOT net>
Cc: djgpp AT delorie DOT com, DJ Delorie <dj AT delorie DOT com>,
Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Subject: Re: DPMI ERROR OMPT: CAN NOT OPEN FILE
In-Reply-To: <519gfo$qk6@mtinsc01-mgt.ops.worldnet.att.net>
Message-Id: <Pine.SUN.3.91.960913114533.17978K-100000@is>
Mime-Version: 1.0

On 12 Sep 1996, iftikhar ahmed wrote:

> I get this error whenever i try to run rhide or my executed program from 
> dos6.2. I have cwsdpmi in the same directory and load the cwsdpmi but this 
> error stops me from executing and testing programs under pure dos 
> environment. Also I can not lauch RHIDE etc. What is wrong. Please help.

I saw such an error message the other day, but I thought it can only
happen on severely butchered systems (I saw it on a machine that couldn't
even boot without help).  Can it be that your PATH environment variable is
empty?  To see if that's the case, at the DOS prompt type "set" and press
the [Enter] key.  If I'm right, you will see something like the following: 

	PATH=
	PROMPT=....
	.....

The value of PROMPT, or any lines after that is unimportant.  The 
important part is that PATH value is empty.  The DJGPP stub assumes that 
whatever follows "PATH=" is the value of PATH, so it thinks PROMPT= is a 
name of the first directory on the PATH...

If that is indeed the case, just set PATH to something useful, like so:

	PATH=c:\dos

and DJGPP will work.

If all of the above doesn't help, please type "set > env.lst" at the DOS 
prompt and post the contents of the file `env.lst'.

- Raw text -


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