Date: Fri, 13 Sep 1996 11:55:40 +0200 (IST) From: Eli Zaretskii To: iftikhar ahmed Cc: djgpp AT delorie DOT com, DJ Delorie , Charles Sandmann Subject: Re: DPMI ERROR OMPT: CAN NOT OPEN FILE In-Reply-To: <519gfo$qk6@mtinsc01-mgt.ops.worldnet.att.net> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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'.