Mail Archives: djgpp/1996/09/13/05:21:51
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 -