1. filename for open() is too long error

Hello, 

I have just discovered Euphoria. 
While trying it in a DOS Window under Windows 95
when launching a program I always get the error

filename for open() is too long error

Has anyone had similar problem?

Thank you for your help,

Thierry

new topic     » topic index » view message » categorize

2. Re: filename for open() is too long error

Thierry Salomon wrote:

> Hello, 
> 
> I have just discovered Euphoria. 

Hello and welcome! smile

> While trying it in a DOS Window under Windows 95
> when launching a program I always get the error
> 
> filename for open() is too long error
> 
> Has anyone had similar problem?
> 
> Thank you for your help,

On DOS, Euphoria does not fully support long file names (LFN).

Here is a page where you'll find lots of code that has been contributed
by Euphoria users. You might find that code collection useful anyway:
<http://rapideuphoria.com/contrib.htm>

Among those contributions is one from me, that provides full LFN support
for Euphoria on DOS: <http://www.rapideuphoria.com/lfn.zip>

Regards,
   Juergen

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

3. Re: filename for open() is too long error

Thank you Juergen for your answer.

But I get the error (on my Windows 95 computer):
"filename for open() is too long error"
even when trying simple things like running the demo
small programs located in
C:\EUPHORIA\DEMO\DOS32

I get the error even when I try to launch the editor "ed"...

On my windows XP computer Euphoria works fine.

Any idea?

Because one big advantage of euphoria compared to Java
would be the possibility to use it on older computers.
 

Regards,
Thierry

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

4. Re: filename for open() is too long error

Thierry Salomon wrote:
> Thank you Juergen for your answer.
> 
> But I get the error (on my Windows 95 computer):
> "filename for open() is too long error"
> even when trying simple things like running the demo
> small programs located in
> C:\EUPHORIA\DEMO\DOS32
> 
> I get the error even when I try to launch the editor "ed"...
> 
> On my windows XP computer Euphoria works fine.
> 
> Any idea?

I've never heard of that problem.
I don't have an old machine handy to test on.
Try exwc instead of ex and see what happens.
Also, maybe your environment variables (PATH, EUDIR etc.)
are in a strange state.
Type: 
   SET | MORE
in a command window to see them all.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

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

5. Re: filename for open() is too long error

> > But I get the error (on my Windows 95 computer):
> > "filename for open() is too long error"
> > even when trying simple things like running the demo
> > small programs located in
> > C:\EUPHORIA\DEMO\DOS32

> Try exwc instead of ex and see what happens.
> Also, maybe your environment variables (PATH, EUDIR etc.)
> are in a strange state.

Just tried yesterday's EU 3.1.1 on a fresh install of Windows 95,
.. without any problems.
Running exw.exe from Explorer, and typing in ed.ex as a file-name,
.. even works OK without any autoexec.bat file present, as expected.

Using a free DOS clone substitute, by any chance ?

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

Search



Quick Links

User menu

Not signed in.

Misc Menu