From: "Kalum Somaratna aka Grendel" To: djgpp AT delorie DOT com Date: Sun, 28 Nov 1999 09:53:49 +0600 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: HELP,PLEASE(newbe) enviro varible DJDIR? In-reply-to: <38405822.6778168@news.jacksonville.net> X-mailer: Pegasus Mail for Win32 (v3.12) Message-ID: <94379760901@out.newmail.net> Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 27 Nov 99, at 22:16, Flint wrote: > When in DOS, at the > prompt, I typed djgpp\bin\rhide hello,as recommended, and a window > poped up saying: RHIDE has > detected, that the enviroment varible DJDIR has not been set ( or not > correct). This is a fatal mistake! > Where in the FAG can I find some info on this > error I am recieving,and\or any > sugestions will be appreciated. Heya Flint, > But, this error does not show up in the WINDOW DOS-PROMT, >only when I boot into DOS and type the command line above. What exactly do you mean by "booting into dos". Do you mean "Shutdown and restarting the computer in MS-DOS mode" or do you have a dual boot setup (where you can boot into more than one operating system) (ie are you booting the previous version of MS- DOS (the one that was there before windows was installed)). Because to me it appears that you have correctly added the "set djgpp=C:\djgpp\djgpp.env" etc.. correctly to your WIN98 autoexec.bat. So thats why rhide runs ok under WIN98. However somehow these (path and DJGPP) are both not present in the environment after "booting to dos ?". thats why RHIDE gives you the error. So if by booting to dos you mean booting at startup into another DOS version other than win98 (for example using a boot disk or another version of dos on you hard disk) then you will have to add the same following lines to that DOS's autoexec.bat. set PATH=C:\DJGPP\BIN;%PATH% set DJGPP=C:\DJGPP\DJGPP.ENV Then rhide shoud work correctly. IMHO the problem you are having is that when you are running rhide by "booting to dos" both of the above variables (path and DJGPP) have not been added to it's environment. If i'm wrong please tell what exactly you mean by "booting into dos". >>could not get a read out with the command: Set > environ.lst Thats because it doesnt print anything it just stores your environment in a file called "environ.lst". If you still have the problem after trying the above please "boot to dos" and type "set >environ.lst" and post the "environ.lst" file Best of Luck! Grendel