Re: EU dir command

new topic     » goto parent     » topic index » view thread      » older message » newer message
gwalters said...

The EU dir command works with XP but does not work with Windows 7. A call to dir returns a "-1". I'm using EU 2.4 but I suspect that the current version 4.x does not work either when trying to list a shared directory on another computer on the network. Someone more knowledable than me should check it.

Hallo

I downloaded Eu2.4 and tried it on Win8 64Bit. Where M: is a share on the Internet (something like DropBox) not on the local Ethernet.

include file.e 
include get.e 
 
object result 
 
result = dir("M:\\") 
 
for i = 1 to length(result) do 
	puts(1,result[i][1]&"\n") 
end for 
 
result=wait_key() 

This works with Eu2.4 and Eu4.04

include std/filesys.e 
include std/console.e 
sequence result 
result = dir("M:\\") 
 
for i=1 to length(result)  do 
    puts(1,result[i][1]&"\n") 
end for 
any_key() 

This one is for Eu4.04 only

So, i can't reproduce the Error here. Maybe only with Win7? Maybe someone else can reproduce it?

Andreas

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu