1. EUdir

hi,
i'm new to euphoria, i've just installed it on my system along with the IDE
environment, problem is that whenever i run the IDE , it returns me an error
saying that,
"Requires presence of EuDir in autoexec.bat and will terminate without it."
i've updated the autoexec.bat file mentioning the euphoria directory path as ...
EUDIR c:\Euphoria
%EUDIR%\INCLUDE\WIN32LIB\INCLUDE;%EUDIR%\INCLUDE\EUCOM;
%EUDIR%\INCLUDE\MATHEVAL;%EUDIR%\INCLUDE\EUSQL;
%EUDIR%\INCLUDE\SPECIAL;%EUDIR%\INCLUDE\wxEuphoria

pls can someone assist....
thanks

new topic     » topic index » view message » categorize

2. Re: EUdir

sachin shirodkar wrote:
> 
> hi,
> "Requires presence of EuDir in autoexec.bat and will terminate without it."

What version of Windows are you running? If 2000 or later, you can put it in
environment variables controlled by Windows. I don't think 2000+ uses those
DOS initialization files anymore.

Try Start>Settings>Control Panel>System>Advanced (Tab)...
Environment Variables (button).

-=ck
"Programming in a state of EUPHORIA."
http://www.cklester.com/euphoria/

new topic     » goto parent     » topic index » view message » categorize

3. Re: EUdir

If you're using a Windows NT based OS (NT, 2000, XP) then AUTOEXEC.BAT
is pointless. You have to setup your environment variables a different
way:

    1. Right-click My Computer and click Properties
    2. Click the Advanced tab
    3. Click the "Environment Variables" button
    4. Edit your environment variables here

~Greg

new topic     » goto parent     » topic index » view message » categorize

4. Re: EUdir

Which version of windows do you have?

If it's 2000, NT, XP, etc... try adding it as an environment variable
(My computer(RightClick)->properties->advanced->environment variables)
rather than through the autoexec.bat file.

Also, just put in EUDIR -> c:\euphoria, not all that other stuff.

It might be useful to add c:\euphoria\bin to your path directory, that
will make it easier for any command-line work you do in the future.

HTH,

MrTrick


On Wed, 15 Dec 2004 19:23:49 -0800, sachin shirodkar
<guest at rapideuphoria.com> wrote:
> 
> posted by: sachin shirodkar <sachem_s at rediffmail.com>
> 
> hi,
> i'm new to euphoria, i've just installed it on my system along with the IDE
> environment, problem is that whenever i run the IDE , it returns me an error
> saying that,
> "Requires presence of EuDir in autoexec.bat and will terminate without it."
> i've updated the autoexec.bat file mentioning the euphoria directory path as
> ...
> EUDIR c:\Euphoria
> %EUDIR%\INCLUDE\WIN32LIB\INCLUDE;%EUDIR%\INCLUDE\EUCOM;
> %EUDIR%\INCLUDE\MATHEVAL;%EUDIR%\INCLUDE\EUSQL;
> %EUDIR%\INCLUDE\SPECIAL;%EUDIR%\INCLUDE\wxEuphoria
> 
> pls can someone assist....
> thanks
> 
> 
> 
> 


-- 
MrTrick

new topic     » goto parent     » topic index » view message » categorize

5. Re: EUdir

On Wed, 15 Dec 2004 19:23:49 -0800, sachin shirodkar
<guest at RapidEuphoria.com> wrote:

>hi,
>i'm new to euphoria, i've just installed it on my system along with the IDE
>environment, problem is that whenever i run the IDE , it returns me an error
>saying that,
>"Requires presence of EuDir in autoexec.bat and will terminate without it."
>i've updated the autoexec.bat file mentioning the euphoria directory path as
>...
>EUDIR c:\Euphoria
>%EUDIR%\INCLUDE\WIN32LIB\INCLUDE;%EUDIR%\INCLUDE\EUCOM;
>%EUDIR%\INCLUDE\MATHEVAL;%EUDIR%\INCLUDE\EUSQL;
>%EUDIR%\INCLUDE\SPECIAL;%EUDIR%\INCLUDE\wxEuphoria

You might try this:
SET EUDIR=C:\EUPHORIA

SET EUINC=%EUDIR%\INCLUDE\WIN32LIB\INCLUDE;%EUDIR%\INCLUDE\EUCOM;
%EUDIR%\INCLUDE\MATHEVAL;%EUDIR%\INCLUDE\EUSQL;
%EUDIR%\INCLUDE\SPECIAL;%EUDIR%\INCLUDE\wxEuphoria

As Greg says, you may need to edit it elsewhere.

Regards,
Pete

new topic     » goto parent     » topic index » view message » categorize

6. Re: EUdir

Greg Haberek wrote:

> If you're using a Windows NT based OS (NT, 2000, XP) then AUTOEXEC.BAT
> is pointless. You have to setup your environment variables a different
> way:
> 
>     1. Right-click My Computer and click Properties
>     2. Click the Advanced tab
>     3. Click the "Environment Variables" button
>     4. Edit your environment variables here
> 
> ~Greg

I have set up Euphoria onto my friend's XP box the following way:

1. Copied my EUPHORIA directory onto his C: drive, root, from floppy.
2. Copied my autoexec.bat file onto his C: drive, root, from floppy.
3. Restarted his machine.

My from_Win_95_Eu runs on his Win XP box now.

His XP "Environment Variables" has *hothing*
about my EUPHORIA at all, blank.

My exported autoexec.bat is:

rem -- autoexec.bat for XP
@SET EUDIR=C:\EUPHORIA
@SET EUINC=C:\EUPHORIA\incl\01;C:\EUPHORIA\incl\02
rem -- end of autoexec.bat for XP

Try, it works here.

Regards,
Igor Kachan
kinz at peterlink.ru

new topic     » goto parent     » topic index » view message » categorize

7. Re: EUdir

Igor Kachan wrote:
> 
> I have set up Euphoria onto my friend's XP box the following way:
> 
> 1. Copied my EUPHORIA directory onto his C: drive, root, from floppy.
> 2. Copied my autoexec.bat file onto his C: drive, root, from floppy.
> 3. Restarted his machine.
> 
> My from_Win_95_Eu runs on his Win XP box now.
> 
> His XP "Environment Variables" has *hothing*
> about my EUPHORIA at all, blank.
> 
> My exported autoexec.bat is:
> 
> rem -- autoexec.bat for XP
> @SET EUDIR=C:\EUPHORIA
> @SET EUINC=C:\EUPHORIA\incl\01;C:\EUPHORIA\incl\02
> rem -- end of autoexec.bat for XP
> 
> Try, it works here.
> 
> Regards,
> Igor Kachan
> kinz at peterlink.ru

The file autoexec.bat is a relic from DOS.  For the most part, Windows XP 
will ignore any autoexec.bat file but entries defining environment variables
will be picked up. Although environment variables *can* be set in this way, 
this is not the preferred method.  You should use the system control panel
as previously mentioned. 
(As a shortcut, Start/Run: "control.exe sysdm.cpl,System,2" and click
"Environment Variables")

Also, no restart of the system is required using this preferred method.

-- Brian

new topic     » goto parent     » topic index » view message » categorize

8. Re: EUdir

I wrote:
>
> (As a shortcut, Start/Run: "control.exe sysdm.cpl,System,2" and click
> "Environment Variables")
> 

Sorry, that should be: "control.exe sysdm.cpl,System,3"

new topic     » goto parent     » topic index » view message » categorize

9. Re: EUdir

On Thu, 16 Dec 2004 19:11:09 +0300, Igor Kachan <kinz at peterlink.ru>
wrote:

>I have set up Euphoria onto my friend's XP box the following way:
>
>1. Copied my EUPHORIA directory onto his C: drive, root, from floppy.
>2. Copied my autoexec.bat file onto his C: drive, root, from floppy.
That is a very, very foolish thing to do. You're lucky it booted at
all. a) you make a backup, b) you cut/paste the relevant lines so you
don't trash everything else making use of that file (eg there are
entries in my autoexec.bat for my antivirus, my email timezone, fasm,
and a custom doskey handler, all of which I would miss).

Pete

new topic     » goto parent     » topic index » view message » categorize

10. Re: EUdir

Pete Lomax wrote:
----------
> On Thu, 16 Dec 2004 19:11:09 +0300, Igor Kachan <kinz at peterlink.ru>
> wrote:
> 
> >I have set up Euphoria onto my friend's XP box the following way:
> >
> >1. Copied my EUPHORIA directory onto his C: drive, root, from floppy.
> >2. Copied my autoexec.bat file onto his C: drive, root, from floppy.
> >
> >
> That is a very, very foolish thing to do. You're lucky it booted at
> all. a) you make a backup, b) you cut/paste the relevant lines so you
> don't trash everything else making use of that file (eg there are
> entries in my autoexec.bat for my antivirus, my email timezone, fasm,
> and a custom doskey handler, all of which I would miss).

Not too foolish  smile

His own autoexec.bat was just zero length, empty dummy.
If his autoexec.bat was not empty, I'd just add my two
lines to his autoexec.bat.

He used Windows XP without real mode (DOS) settings at all.
So his machine was good for my action - just to copy what I need.

MS is not fool too, with their Windows XP, be sure.

You can take your autoexec.bat from Win95 box, put
it onto XP box, copy all files required by autoexec.bat
onto XP and get working real mode on XP, it seems to me now.

I'll try it if I buy XP for myself.

But your cooments are very important, yes, Pete.

You must *add* needed lines into existing autoexec.bat
and can put your own one if existing one is *empty*.

Thanks.

Regards,
Igor Kachan
kinz at peterlink.ru

new topic     » goto parent     » topic index » view message » categorize

11. Re: EUdir

Brian Broker wrote:

> 
> Igor Kachan wrote:
> > 
> > I have set up Euphoria onto my friend's XP box the following way:
> > 
> > 1. Copied my EUPHORIA directory onto his C: drive, root, from floppy.
> > 2. Copied my autoexec.bat file onto his C: drive, root, from floppy.
> > 3. Restarted his machine.
> > 
> > My from_Win_95_Eu runs on his Win XP box now.
> > 
> > His XP "Environment Variables" has *hothing*
> > about my EUPHORIA at all, blank.
> > 
> > My exported autoexec.bat is:
> > 
> > rem -- autoexec.bat for XP
> > @SET EUDIR=C:\EUPHORIA
> > @SET EUINC=C:\EUPHORIA\incl\01;C:\EUPHORIA\incl\02
> > rem -- end of autoexec.bat for XP
> > 
> > Try, it works here.
> > 
> > Regards,
> > Igor Kachan
> > kinz at peterlink.ru
> 
> The file autoexec.bat is a relic from DOS.  For the most part, Windows XP
> will ignore any autoexec.bat file but entries defining environment
variables
> will be picked up. Although environment variables *can* be set in this
way, 
> this is not the preferred method.  You should use the system control
> panel as previously mentioned. 
> (As a shortcut, Start/Run: "control.exe sysdm.cpl,System,2" and click
> "Environment Variables")
> 
> Also, no restart of the system is required using this preferred method.

Thanks, Brian. I think, I can set up all real mode stuff this way 
on my XP box, i.e. via autoexec.bat, if I'll buy XP.    smile
CP866 for DOS mode, keyboard for DOS mode etc, etc.
I'll try to copy my full autoexec.bat from Win95 and just copy
all packages - Watcom, DJGPP, heap of old DOS programs I like.

Regards,
Igor Kachan
kinz at peterlink.ru

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu