Re: EU dir command

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

dir() works for me on Windows 7 with Euphoria 4.0.4 when using a shared directory:

include std/filesys.e 
 
object x 
 
x = dir( "\\\\SEMP1\\SharedDocs\\" ) 
-- or x = dir( "\\\\SEMP1\\SharedDocs\\*.*" ) 
?x 

Printed result is a lot of file information.

If I attempt dir("\\\\SEMP1\\"), I get -1.

I think I would use the "*.*" path spec, as I believe the "\\\\SEMP1\\SharedDocs\\" path at first gave me a -1. After I used *.*, both paths then worked, IIRC... ICBC.

Confirmed that *.* isn't necessary for me.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu